This commit is contained in:
yage 2022-01-10 06:36:34 -07:00
parent 9db33a78f4
commit aec034fa21
4 changed files with 18 additions and 11 deletions

View File

@ -3,4 +3,7 @@ font_family DejaVuSansMono Nerd Font Complete Mono
font_size 17.0
allow_remote_control yes
cursor_shape block
shell_integration no-cursor
include ./theme.conf

View File

@ -13,10 +13,3 @@ nnoremap <C-k> <C-w>k
" (CTRL + n/p) for files
nnoremap <C-n> :n<CR>
nnoremap <C-p> :N<CR>
" (<LEADER> + e + RC_PREFIX) for edit rc
nnoremap <Leader>ev :sp $WRYNVIMRC<CR>
nnoremap <Leader>sv :source $MYVIMRC<CR>
nnoremap <Leader>eb :sp $BASHRC<CR>
nnoremap <Leader>ez :sp $ZSHRC<CR>

View File

@ -3,3 +3,14 @@ function Sudowrite()
endfunction
nnoremap <Leader><Leader>w :call Sudowrite()<CR><CR>L
function MakeFileExecutable()
execute '! chmod +x "%"'
endfunction
nnoremap <Leader><Leader>x :call MakeFileExecutable()<CR><CR>L
" (<LEADER> + e + RC_PREFIX) for edit rc
nnoremap <Leader>ev :tabedit $WRYNVIMRC<CR>:NERDTreeToggle<CR>
nnoremap <Leader>sv :source $MYVIMRC<CR>
nnoremap <Leader>ez :tabedit $ZSHRC<CR>