Skip to content

Instantly share code, notes, and snippets.

@lizmat

lizmat/.vimrc Secret

Created October 26, 2022 10:51
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 lizmat/4df3073fd957048834ff51a82a061311 to your computer and use it in GitHub Desktop.
Save lizmat/4df3073fd957048834ff51a82a061311 to your computer and use it in GitHub Desktop.
Basically my ~/.vimrc
:syntax on
:set autowrite
:set autoindent
:set backspace=start,indent,eol
:set define=^\\s*sub
:set expandtab
:set foldopen=all
:set foldclose=all
:set hlsearch
:set ignorecase
:set incsearch
:set keywordprg=perldoc
:set ruler
:set shiftwidth=4
:set showcmd
:set showmatch
:set smartcase
:set smarttab
:set smartindent
:set updatecount=10
:set tabstop=4
if has('persistent_undo')
set undodir=~/.undo
set undolevels=100000
set undofile
endif
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment