Added ctrl-s quicksave bind and necessary zsh settings.
This commit is contained in:
parent
45c2fa56d1
commit
d5efba2db5
2 changed files with 6 additions and 0 deletions
|
|
@ -320,6 +320,11 @@ highlight link myTodo Todo
|
|||
" Bind ctrl+u to jump list jump (opposite of ctrl+o)
|
||||
nnoremap <C-u> <C-i>
|
||||
|
||||
" Bind ctrl-s to quicksave!
|
||||
noremap <silent> <C-S> :update<CR>
|
||||
vnoremap <silent> <C-S> <C-C>:update<CR>
|
||||
inoremap <silent> <C-S> <C-O>:update<CR>
|
||||
|
||||
" Load changes to a file automatically from drive if the file has not been
|
||||
" changed yet
|
||||
set autoread
|
||||
|
|
|
|||
|
|
@ -70,4 +70,5 @@ alias scp='noglob \scp' # Allows wildcards in scp commands
|
|||
alias rsync='noglob \rsync' # Allows wildcards in rsync commands
|
||||
setxkbmap -option caps:escape # Change capslock key to escape
|
||||
zstyle ':completion:*' rehash true # Find new executables for autcompletion
|
||||
stty -ixon # Ignore and pass through ctrl-s and ctrl-q as normal input (quicksave bin for vim)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue