-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathinit.vim
22 lines (18 loc) · 968 Bytes
/
init.vim
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
let mapleader="\<SPACE>"
nnoremap <leader>w :w<CR>
set ignorecase
set smartcase
" https://github.com/LunarVim/LunarVim/blob/d002b0419a8621c5575c14119d0b8d9c4a7a44a0/vscode/settings.vim
if exists('g:vscode')
" Better Navigation
nnoremap <silent> <C-j> :call VSCodeNotify('workbench.action.navigateDown')<CR>
xnoremap <silent> <C-j> :call VSCodeNotify('workbench.action.navigateDown')<CR>
nnoremap <silent> <C-k> :call VSCodeNotify('workbench.action.navigateUp')<CR>
xnoremap <silent> <C-k> :call VSCodeNotify('workbench.action.navigateUp')<CR>
nnoremap <silent> <C-h> :call VSCodeNotify('workbench.action.navigateLeft')<CR>
xnoremap <silent> <C-h> :call VSCodeNotify('workbench.action.navigateLeft')<CR>
nnoremap <silent> <C-l> :call VSCodeNotify('workbench.action.navigateRight')<CR>
xnoremap <silent> <C-l> :call VSCodeNotify('workbench.action.navigateRight')<CR>
nmap <Tab> :Tabnext<CR>
nmap <S-Tab> :Tabprev<CR>
endif