Browse Source

vim: add cursor display

Thomas Dy 5 years ago
parent
commit
d1d28b2f79
1 changed files with 3 additions and 0 deletions
  1. 3 0
      .vim/init.vim

+ 3 - 0
.vim/init.vim

@@ -102,6 +102,9 @@ nnoremap k gk
 vnoremap j gj
 vnoremap k gk
 
+" cursor display
+nnoremap <Leader>c :set cursorline! cursorcolumn!<CR>
+
 " fzf
 nnoremap <C-P> :GitFiles -o -c --exclude-standard<CR>
 nnoremap <C-O> :Buffers<CR>