dotfiles

My dotfiles used for LARBS
Log | Files | Refs | README | LICENSE

commit 5e61b89ed3325852786c75dda96b14f080d03f10
parent c5e9d414b8ac0886ee81671cad5d68d01a484ffb
Author: Luke Smith <luke@lukesmith.xyz>
Date:   Sat, 23 Nov 2019 15:02:19 -0500

nvimrc update

Diffstat:
M.config/nvim/init.vim | 11+++++------
1 file changed, 5 insertions(+), 6 deletions(-)

diff --git a/.config/nvim/init.vim b/.config/nvim/init.vim @@ -13,11 +13,10 @@ Plug 'scrooloose/nerdtree' Plug 'junegunn/goyo.vim' Plug 'PotatoesMaster/i3-vim-syntax' Plug 'jreybert/vimagit' -Plug 'LukeSmithxyz/vimling' +Plug 'lukesmithxyz/vimling' Plug 'vimwiki/vimwiki' Plug 'bling/vim-airline' Plug 'tpope/vim-commentary' -Plug 'vifm/vifm.vim' Plug 'kovetskiy/sxhkd-vim' call plug#end() @@ -92,22 +91,22 @@ set clipboard=unnamedplus autocmd BufRead,BufNewFile *.ms,*.me,*.mom,*.man set filetype=groff autocmd BufRead,BufNewFile *.tex set filetype=tex -" Copy selected text to system clipboard (requires gvim/nvim/vim-x11 installed): +" Copy selected text to system clipboard: vnoremap <C-c> "+y map <C-p> "+P " Enable Goyo by default for mutt writting autocmd BufRead,BufNewFile /tmp/neomutt* let g:goyo_width=80 autocmd BufRead,BufNewFile /tmp/neomutt* :Goyo | set bg=light + autocmd BufRead,BufNewFile /tmp/neomutt* map ZZ :Goyo\|x!<CR> + autocmd BufRead,BufNewFile /tmp/neomutt* map ZQ :Goyo\|q!<CR> " Automatically deletes all trailing whitespace on save. autocmd BufWritePre * %s/\s\+$//e " When shortcut files are updated, renew bash and ranger configs with new material: - autocmd BufWritePost *bmdirs,*bmfiles !shortcuts + autocmd BufWritePost files,directories !shortcuts " Run xrdb whenever Xdefaults or Xresources are updated. autocmd BufWritePost *Xresources,*Xdefaults !xrdb % " Update binds when sxhkdrc is updated. autocmd BufWritePost *sxhkdrc !pkill -USR1 sxhkd -" Update dwmbar when changed. - autocmd BufWritePost *dwmbar !killall dwmbar; setsid dwmbar &