Skip to content

Commit

Permalink
(chore) open vimrc in same window without splitting
Browse files Browse the repository at this point in the history
  • Loading branch information
PrashanthaTP committed Aug 16, 2021
1 parent 3b556a8 commit 8074a25
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion nvim/general/leader.vim
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
" Mappings with leader key
" source vim file
nmap <leader>sv :source $LOCALAPPDATA/nvim/init.vim<CR>
nmap <leader>so :vsplit <bar> :e $LOCALAPPDATA/nvim/init.vim<CR>
nmap <leader>so :e $LOCALAPPDATA/nvim/init.vim<CR>
" nmap <leader>so :vsplit <bar> :e $LOCALAPPDATA/nvim/init.vim<CR>
nnoremap <leader>n :bnext<CR>
nnoremap <leader>p :bprev<CR>
nnoremap <leader>b :buffers<CR>
Expand Down

0 comments on commit 8074a25

Please sign in to comment.