Skip to content

Instantly share code, notes, and snippets.

@kennycyb
Last active March 30, 2018 06:06
Show Gist options
  • Save kennycyb/e69eedf1587aa5dd3c4a58efa168a05d to your computer and use it in GitHub Desktop.
Save kennycyb/e69eedf1587aa5dd3c4a58efa168a05d to your computer and use it in GitHub Desktop.

~/.vimrc

set number
set incsearch
set mouse=a
set tabstop=2
set shiftwidth=2
set expandtab
set autoindent
set smartindent
set backupcopy=auto
set nocompatible
syntax on
filetype on
filetype indent on
filetype plugin on
set pastetoggle=<F10>

Backspace Issue (Unix):

set backspace=indent,eol,start
set t_kb=^? 
set t_kD=^[[3~

Note

Ctrl-V <backspace> to insert ^?
Ctrl-V <delete> to insert ^[[3~

Settings

Change the column size: set columns=180

Enable increment search set incsearch

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment