diff --git a/nvim/.config/nvim/init.vim b/nvim/.config/nvim/init.vim index 674c7fc..af26985 100644 --- a/nvim/.config/nvim/init.vim +++ b/nvim/.config/nvim/init.vim @@ -23,7 +23,6 @@ let g:easyescape_chars = { "j": 1, "k": 1 } let g:easyescape_timeout = 100 inoremap jk inoremap kj -map :NERDTreeToggle set ignorecase set smartcase set mouse=a @@ -35,3 +34,8 @@ set shiftwidth=4 " number of spaces to use for autoindent set expandtab " tabs are space set autoindent set copyindent " copy indent from the previous line + +map :NERDTreeToggle + +" Allow saving of files as sudo when I forgot to start vim using sudo. +cmap w!! w !sudo tee > /dev/null % diff --git a/zsh/.zshrc b/zsh/.zshrc index 1beb33b..5fdd271 100755 --- a/zsh/.zshrc +++ b/zsh/.zshrc @@ -23,7 +23,7 @@ export ZSH=$HOME/.oh-my-zsh # HYPHEN_INSENSITIVE="true" # Uncomment the following line to disable bi-weekly auto-update checks. -#DISABLE_AUTO_UPDATE="false" +DISABLE_AUTO_UPDATE="false" # Uncomment the following line to change how often to auto-update (in days). # export UPDATE_ZSH_DAYS=13