diff options
author | Julian T <julian@jtle.dk> | 2018-12-20 17:52:30 +0100 |
---|---|---|
committer | Julian T <julian@jtle.dk> | 2018-12-20 17:52:30 +0100 |
commit | 613377643780dac31ceca30908e16157bb4dd5ce (patch) | |
tree | 3e4aa3ff7baa94b29368647079225db28a9ddf11 | |
parent | b9337a198bc97ab03f5465b0eed3dd4ce1f93256 (diff) | |
parent | 8f0cb15b558a403f79864f3d624c5e5d883b7c07 (diff) |
Merge https://github.com/jbjjbjjbj/newDotFiles
-rw-r--r-- | .config/terminator/config | 4 | ||||
-rwxr-xr-x | .dwmSession.sh | 3 | ||||
-rw-r--r-- | .emacs | 15 | ||||
-rw-r--r-- | .vimrc | 104 | ||||
-rw-r--r-- | .xinitrc | 2 | ||||
-rw-r--r-- | .zshrc | 4 |
6 files changed, 78 insertions, 54 deletions
diff --git a/.config/terminator/config b/.config/terminator/config index d49a9b6..db2d360 100644 --- a/.config/terminator/config +++ b/.config/terminator/config @@ -18,9 +18,9 @@ background_darkness = 0.93 background_type = transparent cursor_color = "#ffffff" - font = Monospace 10 + font = Ubuntu Mono 11 foreground_color = "#ffffff" - palette = "#050505:#b81109:#1cb228:#baa407:#2c5fad:#e35682:#16a085:#ffffff:#1c1b19:#e8160c:#24e534:#fcdf09:#408afc:#e02c6d:#1abc9c:#ebe3e3" + palette = "#000000:#cc0000:#4e9a06:#c4a000:#3465a4:#75507b:#06989a:#d3d7cf:#555753:#ef2929:#8ae234:#fce94f:#729fcf:#ad7fa8:#34e2e2:#eeeeec" scrollback_infinite = True scrollbar_position = hidden show_titlebar = False diff --git a/.dwmSession.sh b/.dwmSession.sh index 5e9b4e3..2c427b8 100755 --- a/.dwmSession.sh +++ b/.dwmSession.sh @@ -13,7 +13,8 @@ while true; do BATT=$( acpi -b | sed 's/.*[charging|unknown], \([0-9]*\)%.*/\1/gi' ) TIME=$(/bin/date +"%H:%M") + IP=$(hostname -i) - xsetroot -name "$TIME $BATT%" + xsetroot -name "$IP $TIME $BATT%" sleep 10 done @@ -28,3 +28,18 @@ (require 'evil-surround) (global-evil-surround-mode 1) +(custom-set-variables + ;; custom-set-variables was added by Custom. + ;; If you edit it by hand, you could mess it up, so be careful. + ;; Your init file should contain only one such instance. + ;; If there is more than one, they won't work right. + '(package-selected-packages (quote (jedi evil-surround buffer-move auto-complete)))) +(custom-set-faces + ;; custom-set-faces was added by Custom. + ;; If you edit it by hand, you could mess it up, so be careful. + ;; Your init file should contain only one such instance. + ;; If there is more than one, they won't work right. + ) + +(add-hook 'python-mode-hook 'jedi:setup) +(setq jedi:complete-on-dot t) ; optional @@ -2,44 +2,38 @@ set nocompatible " be iMproved, required filetype plugin on -" set the runtime path to include Vundle and initialize -set rtp+=~/.vim/bundle/Vundle.vim -call vundle#begin() -" alternatively, pass a path where Vundle should install plugins -"call vundle#begin('~/some/path/here') +" Plugins + " set the runtime path to include Vundle and initialize + set rtp+=~/.vim/bundle/Vundle.vim + call vundle#begin() + " alternatively, pass a path where Vundle should install plugins + "call vundle#begin('~/some/path/here') -" let Vundle manage Vundle, required -Plugin 'VundleVim/Vundle.vim' + " let Vundle manage Vundle, required + Plugin 'VundleVim/Vundle.vim' -Plugin 'tpope/vim-surround' -Plugin 'tpope/vim-repeat' -Plugin 'tpope/vim-fugitive' + Plugin 'ervandew/supertab' -Plugin 'vim-latex/vim-latex' + Plugin 'tpope/vim-surround' + Plugin 'tpope/vim-repeat' -Plugin 'racer-rust/vim-racer' + Plugin 'racer-rust/vim-racer' + Plugin 'davidhalter/jedi-vim' -Plugin 'zchee/deoplete-jedi' + Plugin 'agude/vim-eldar' + Plugin 'scrooloose/nerdtree' -if has("nvim") - Plugin 'Shougo/deoplete.nvim' -else - Plugin 'Shougo/deoplete.nvim' - Plugin 'roxma/nvim-yarp' - Plugin 'roxma/vim-hug-neovim-rpc' -endif + " Track the engine. + Plugin 'SirVer/ultisnips' -Plugin 'agude/vim-eldar' -Plugin 'scrooloose/nerdtree' + " Snippets are separated from the engine. Add this if you want them: + Plugin 'honza/vim-snippets' -" Track the engine. -Plugin 'SirVer/ultisnips' + Plugin 'junegunn/goyo.vim' + Plugin 'jreybert/vimagit' -" Snippets are separated from the engine. Add this if you want them: -Plugin 'honza/vim-snippets' - -call vundle#end() " required -filetype plugin indent on " required + call vundle#end() " required + filetype plugin indent on " required colorscheme eldar @@ -52,36 +46,46 @@ set shiftwidth=4 set softtabstop=4 set noexpandtab -let g:deoplete#enable_at_startup = 1 +set inccommand=split -tnoremap <C-e> <C-\><C-n> +" Required for operations modifying multiple buffers like rename. +set hidden -" Map C-s -noremap <silent> <C-S> :update<CR> +" Snippits + " Trigger configuration. Do not use <tab> if you use https://github.com/Valloric/YouCompleteMe. + let g:UltiSnipsExpandTrigger="<c-b>" + let g:UltiSnipsJumpForwardTrigger="<c-b>" + let g:UltiSnipsJumpBackwardTrigger="<c-z>" -map <C-n> :NERDTreeToggle<CR> + " If you want :UltiSnipsEdit to split your window. + let g:UltiSnipsEditSplit="vertical" -" Required for operations modifying multiple buffers like rename. -set hidden + " inoremap <expr> <Tab> pumvisible() ? "\<C-n>" : "\<Tab>" + " inoremap <expr> <S-Tab> pumvisible() ? "\<C-p>" : "\<S-Tab>" +" File finding + set path+=** + set wildmenu -" Trigger configuration. Do not use <tab> if you use https://github.com/Valloric/YouCompleteMe. -let g:UltiSnipsExpandTrigger="<c-b>" -let g:UltiSnipsJumpForwardTrigger="<c-b>" -let g:UltiSnipsJumpBackwardTrigger="<c-z>" + let g:netrw_liststyle=3 -" If you want :UltiSnipsEdit to split your window. -let g:UltiSnipsEditSplit="vertical" +" autocmd BufEnter * call ncm2#enable_for_buffer() +" let g:ncm2#auto_popup = 0 +set completeopt=menuone,preview -inoremap <expr> <Tab> pumvisible() ? "\<C-n>" : "\<Tab>" -inoremap <expr> <S-Tab> pumvisible() ? "\<C-p>" : "\<S-Tab>" +" Keymapping + map <C-n> :NERDTreeToggle<CR> -" File finding -set path+=** -set wildmenu + " Leader stuff + let mapleader=" " -let g:netrw_liststyle=3 + map <leader>z :Goyo<CR> + map <leader>mm :make V=1<CR> + map <leader>mf :make flash V=1<CR> + " Example on filetype specific + " autocmd FileType tex map <leader>o :w !detex \| wc -w<CR> -set inccommand=split -autocmd FileType python setlocal completeopt-=preview +" Enforcing filetypes + autocmd BufRead,BufNewFile *.ino set filetype=c + autocmd FileType python setlocal completeopt-=preview @@ -1,6 +1,6 @@ setxkbmap -layout us -variant altgr-intl xcape -e "Control_L=Escape" -feh --bg-fill /home/julian/Pictures/up2.jpg +feh --bg-fill /home/julian/Pictures/up4.jpg export _JAVA_AWT_WM_NONREPARENTING=1 eval $(/usr/bin/gnome-keyring-daemon --start --components=pkcs11,secrets) @@ -140,3 +140,7 @@ export GEM_HOME=$HOME/gems export PATH=$HOME/gems/bin:$PATH PATH=/home/julian/.gem/ruby/2.5.0/bin:$PATH PATH=/home/julian/.local/bin:$PATH + +export NVIM_PYTHON_LOG_FILE=/tmp/log +export NVIM_PYTHON_LOG_LEVEL=DEBUG + |