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 fd831d86d6b3987e84e38379582ecfa57c451709
parent 47a7b96fe1ae0128ee19eec4f2a0ceb9d480a449
Author: Anders Damsgaard <andersd@riseup.net>
Date:   Thu, 30 Nov 2017 13:46:44 -0500

toggle cursorline/column with <leader>c

Diffstat:
Mlinks/.vim/plugin/keybinds.vim | 5++++-
1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/links/.vim/plugin/keybinds.vim b/links/.vim/plugin/keybinds.vim @@ -39,6 +39,9 @@ nnoremap <leader>N :set number!<CR> " toggle relative line numbering nnoremap <leader>n :set relativenumber!<CR> +" toggle cursorline/column +nnoremap <leader>c :set cursorline!<CR>:set cursorcolumn!<CR> + " NERD Tree short cut nnoremap <leader>d :NERDTreeToggle<CR> @@ -142,7 +145,7 @@ inoremap <Up> <Nop> inoremap <Down> <Nop> " Update ctags -nnoremap <leader>c :Start ctags -R --python-kinds=-i --langmap=c++:.cu,c++:.cuh .<CR> +"nnoremap <leader>c :Start ctags -R --python-kinds=-i --langmap=c++:.cu,c++:.cuh .<CR> " file search if executable("rg")