summaryrefslogtreecommitdiff
path: root/ar/.config/NvChad/vscode/settings.vim
diff options
context:
space:
mode:
Diffstat (limited to 'ar/.config/NvChad/vscode/settings.vim')
-rw-r--r--ar/.config/NvChad/vscode/settings.vim49
1 files changed, 0 insertions, 49 deletions
diff --git a/ar/.config/NvChad/vscode/settings.vim b/ar/.config/NvChad/vscode/settings.vim
deleted file mode 100644
index c48a73c..0000000
--- a/ar/.config/NvChad/vscode/settings.vim
+++ /dev/null
@@ -1,49 +0,0 @@
-function! s:closeOtherEditors()
- call VSCodeNotify('workbench.action.closeEditorsInOtherGroups')
- call VSCodeNotify('workbench.action.closeOtherEditors')
-endfunction
-
-function! s:manageEditorSize(...)
- let count = a:1
- let to = a:2
- for i in range(1, count ? count : 1)
- call VSCodeNotify(to == 'increase' ? 'workbench.action.increaseViewSize' : 'workbench.action.decreaseViewSize')
- endfor
-endfunction
-
-command! -bang Only if <q-bang> == '!' | call <SID>closeOtherEditors() | else | call VSCodeNotify('workbench.action.joinAllGroups') | endif
-
-nnoremap <silent> <C-a>= :<C-u>call VSCodeNotify('workbench.action.evenEditorWidths')<CR>
-xnoremap <silent> <C-a>= :<C-u>call VSCodeNotify('workbench.action.evenEditorWidths')<CR>
-nnoremap <silent> <C-x>_ :<C-u>call VSCodeNotify('workbench.action.toggleEditorWidths')<CR>
-xnoremap <silent> <C-x>_ :<C-u>call VSCodeNotify('workbench.action.toggleEditorWidths')<CR>
-
-" nnoremap <silent> <C-w>> :<C-u>call <SID>manageEditorSize(v:count, 'increase')<CR>
-" xnoremap <silent> <C-w>> :<C-u>call <SID>manageEditorSize(v:count, 'increase')<CR>
-" nnoremap <silent> <C-w>+ :<C-u>call <SID>manageEditorSize(v:count, 'increase')<CR>
-" xnoremap <silent> <C-w>+ :<C-u>call <SID>manageEditorSize(v:count, 'increase')<CR>
-" nnoremap <silent> <C-w>< :<C-u>call <SID>manageEditorSize(v:count, 'decrease')<CR>
-" xnoremap <silent> <C-w>< :<C-u>call <SID>manageEditorSize(v:count, 'decrease')<CR>
-" nnoremap <silent> <C-w>- :<C-u>call <SID>manageEditorSize(v:count, 'decrease')<CR>
-" xnoremap <silent> <C-w>- :<C-u>call <SID>manageEditorSize(v:count, 'decrease')<CR>
-
-" 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>
-
-" Bind C-/ to vscode commentary since calling from vscode produces double comments due to multiple cursors
-xnoremap <silent> <C-/> :call Comment()<CR>
-nnoremap <silent> <C-/> :call Comment()<CR>
-
-nnoremap <silent> <C-w>_ :<C-u>call VSCodeNotify('workbench.action.toggleEditorWidths')<CR>
-
-nnoremap <silent> <Space> :call VSCodeNotify('whichkey.show')<CR>
-xnoremap <silent> <Space> :call VSCodeNotify('whichkey.show')<CR>
-
-" nnoremap <silent> <C-n> :call VSCodeNotify('workbench.view.explorer')<CR> \ No newline at end of file