Skip to content

Instantly share code, notes, and snippets.

@zevaverbach
Created November 7, 2023 15:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save zevaverbach/ddd96bc70d82f78079a7443df9b49fa1 to your computer and use it in GitHub Desktop.
Save zevaverbach/ddd96bc70d82f78079a7443df9b49fa1 to your computer and use it in GitHub Desktop.
basic .bashrc and .vimrc to hit the ground running
bind -r '\C-s'
stty -ixon
set autoindent expandtab tabstop=4 shiftwidth=4
set hidden
nnoremap <C-S> :w<cr>
inoremap <C-S> <esc>:w<cr>i
let mapleader=" "
nnoremap <leader>w :w<cr>:bw<cr>
nnoremap <leader>v :e ~/.vimrc<cr>
nnoremap <leader>s :source ~/.vimrc<cr>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment