Skip to content

Instantly share code, notes, and snippets.

@mwrites
Last active October 12, 2021 18:51
Show Gist options
  • Save mwrites/1cac810e21d168d85aae2fe7ca0fd8a4 to your computer and use it in GitHub Desktop.
Save mwrites/1cac810e21d168d85aae2fe7ca0fd8a4 to your computer and use it in GitHub Desktop.
Server Config - Ubuntu - vimrc
set number
set linebreak
set showbreak=+++
set textwidth=100
set showmatch
set visualbell
set hlsearch
set smartcase
set ignorecase
set incsearch
set autoindent
set shiftwidth=4
set smartindent
set smarttab
set softtabstop=4
# python convetion want to transform tab into spaces
set expandtab
set ruler
set undolevels=1000
set backspace=indent,eol,start
noremap <Up> ""
noremap! <Up> <Esc>
noremap <Down> ""
noremap! <Down> <Esc>
noremap <Left> ""
noremap! <Left> <Esc>
noremap <Right> ""
noremap! <Right> <Esc>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment