Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- " Auto indent
- filetype plugin indent on
- " Enable syntax highlighting
- syntax on
- " Disable swap file
- set noswapfile
- " Enable line numbers
- set number
- " Disable line wrapping
- set nowrap
- " Make backspace behaive like normal
- set backspace=indent,eol,start
- " Other options
- set incsearch
- set showmode
- set wildmenu
- set ruler
- set lz
- set hid
- set softtabstop=4
- set tabstop=4
- set shiftwidth=4
- set expandtab
- set autoindent
- set smartindent
- set cindent
- set ai
- set si
- set cin
- set mouse=a
- set numberwidth=6
- set encoding=utf-8
- " Make new splits oben below the current window and
- " to the right of it, instead of the other way around.
- set splitbelow splitright
- " Enable relative line numbering
- set rnu
- " This is important for the powerline plugin
- set laststatus=2
- " Store an undo buffer in a file in $HOME/.vimundo
- set undofile
- set undodir=$HOME/.vimundo
- set undolevels=1000
- set undoreload=10000
- " Bind ; as : as it's more convienent
- noremap ; :
- " Unbind Ex mode
- noremap Q <nop>
- " Unbind help menu
- noremap <F1> <nop>
- " Unbind another help menu
- noremap <S-k> <nop>
- " Easier split navigation
- nnoremap <C-J> <C-W><C-J>
- nnoremap <C-K> <C-W><C-K>
- nnoremap <C-L> <C-W><C-L>
- nnoremap <C-H> <C-W><C-H>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement