You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
32 lines
1016 B
32 lines
1016 B
" link destination: $HOME/.vimrc
|
|
|
|
" Enable modern Vim features not compatible with Vi spec.
|
|
set nocompatible
|
|
|
|
" Enable mouse support.
|
|
set mouse=a
|
|
|
|
" Run Pathogen package manager
|
|
execute pathogen#infect()
|
|
|
|
" Set up vim-gfm-syntax
|
|
let g:gfm_syntax_emoji_conceal = 1
|
|
|
|
" Enable file type based indent configuration and syntax highlighting.
|
|
" Note that when code is pasted via the terminal, vim by default does not detect
|
|
" that the code is pasted (as opposed to when using vim's paste mappings), which
|
|
" leads to incorrect indentation when indent mode is on.
|
|
" To work around this, use ":set paste" / ":set nopaste" to toggle paste mode.
|
|
" You can also use a plugin to:
|
|
" - enter insert mode with paste (https://github.com/tpope/vim-unimpaired)
|
|
" - auto-detect pasting (https://github.com/ConradIrwin/vim-bracketed-paste)
|
|
filetype plugin indent on
|
|
syntax on
|
|
|
|
let g:airline#extensions#tabline#enabled = 1
|
|
set modeline
|
|
set expandtab
|
|
set shiftwidth=2
|
|
set softtabstop=2
|
|
set laststatus=2
|
|
hi Statement ctermfg=3 guifg=#C4A000
|
|
|