added basic (mostly copy pasted) tmux config, added a few things to the vimrc
This commit is contained in:
parent
2e61cc3205
commit
13bd2d6d4c
2 changed files with 121 additions and 5 deletions
|
@ -1,4 +1,4 @@
|
|||
"initial, more technical settings
|
||||
""initial, more technical settings
|
||||
|
||||
"this sets what sort of folding method to use.
|
||||
let foldtype="basicindent"
|
||||
|
@ -119,17 +119,21 @@ filetype plugin on
|
|||
"toggle spell checking
|
||||
map <leader>ss :setlocal spell!<Enter>
|
||||
|
||||
"splitting pannes with <leader>| or -
|
||||
nmap <leader>\| :vs<Enter>
|
||||
nmap <leader>\- :sp<Enter>
|
||||
|
||||
" shortcuts using leader
|
||||
" noremap <leader>sn ]s
|
||||
" noremap <leader>sp [s
|
||||
" noremap <leader>s? z=
|
||||
|
||||
"navigating splits: Control+hjkl will move from split to split
|
||||
"navigating splits: Control+hjkl will move from split to split
|
||||
nmap <C-h> <C-w>h
|
||||
nmap <C-j> <C-w>j
|
||||
nmap <C-k> <C-w>k
|
||||
nmap <C-l> <C-w>l
|
||||
|
||||
"command mode keybinds
|
||||
"w!! writes using sudo
|
||||
cnoremap w!! w !sudo tee % >/dev/null
|
||||
"command mode keybinds
|
||||
"w!! writes using sudo
|
||||
"cnoremap w!! w !sudo tee % >/dev/null
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue