diff --git a/dotfiles/.vimrc b/dotfiles/.vimrc index 52203b5..7111f22 100644 --- a/dotfiles/.vimrc +++ b/dotfiles/.vimrc @@ -320,6 +320,11 @@ highlight link myTodo Todo " Bind ctrl+u to jump list jump (opposite of ctrl+o) nnoremap +" Bind ctrl-s to quicksave! +noremap :update +vnoremap :update +inoremap :update + " Load changes to a file automatically from drive if the file has not been " changed yet set autoread diff --git a/dotfiles/.zshrc b/dotfiles/.zshrc index ae87afa..c20c00c 100644 --- a/dotfiles/.zshrc +++ b/dotfiles/.zshrc @@ -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)