dotfiles

configuration files for shell, text editor, graphical environment, etc.
git clone git://src.adamsgaard.dk/dotfiles
Log | Files | Refs | README | LICENSE Back to index

commit c2ecbf4d04c02ee172f4561b6d70738776ff3dd8
parent 3188dcbc3dcf3608c6ed6f25a59bdfcc7290b901
Author: Anders Damsgaard <andersd@riseup.net>
Date:   Tue, 30 Jan 2018 12:04:59 -0500

Also reload ~/.vim/plugin/*.vim files with <leader>R

Diffstat:
Mlinks/.vim/plugin/keybinds.vim | 6+++---
1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/links/.vim/plugin/keybinds.vim b/links/.vim/plugin/keybinds.vim @@ -6,8 +6,8 @@ nnoremap ZX :w<CR> " use space instead of \ as leader let mapleader="\<Space>" -" Shortcut to reload .vimrc -nnoremap <leader>R :source $MYVIMRC<CR> +" Shortcut to reload .vimrc and ~/.vim/plugin/*.vim +nnoremap <leader>R :source $MYVIMRC<CR>:runtime! plugin/*.vim<CR>:echo "Configuration reloaded"<CR> " toggle distraction-free editing nnoremap <leader>y :set nolist<CR>:Goyo<CR> @@ -47,7 +47,7 @@ nnoremap <leader>d :Lex<CR> nnoremap <leader>h :Hex<CR> " Toggle TAB and EOL symbols -nnoremap <leader>l :set list!<CR> +"nnoremap <leader>l :set list!<CR> nnoremap <leader>e :e nnoremap <leader>% :vsplit