Skip to content

Instantly share code, notes, and snippets.

@neutronth
Created June 10, 2019 02:20
Show Gist options
  • Save neutronth/22522737ae54d6a9866d827007abc9b3 to your computer and use it in GitHub Desktop.
Save neutronth/22522737ae54d6a9866d827007abc9b3 to your computer and use it in GitHub Desktop.
Neutron's vim personal config
set shell=/bin/bash
set mouse=
set ttymouse=
set nocompatible
set cursorline
set cursorcolumn
highlight CursorColumn ctermfg=White ctermbg=blue cterm=bold guifg=white guibg=yellow gui=bold
syntax on
set tabstop=2
set expandtab
set shiftwidth=2
let g:ale_completion_enabled = 1
filetype off
packloadall
silent! helptags ALL
filetype plugin indent on
filetype plugin on
colorscheme mycolor
let g:ale_fixers = {
\ '*': ['remove_trailing_lines', 'trim_whitespace'],
\ }
let g:ale_fix_on_save = 1
" air-line
let g:airline_powerline_fonts = 1
if !exists('g:airline_symbols')
let g:airline_symbols = {}
endif
" unicode symbols
let g:airline_left_sep = '»'
let g:airline_left_sep = '▶'
let g:airline_right_sep = '«'
let g:airline_right_sep = '◀'
let g:airline_symbols.linenr = '␊'
let g:airline_symbols.linenr = '␤'
let g:airline_symbols.linenr = '¶'
let g:airline_symbols.branch = '⎇'
let g:airline_symbols.paste = 'ρ'
let g:airline_symbols.paste = 'Þ'
let g:airline_symbols.paste = '∥'
let g:airline_symbols.whitespace = 'Ξ'"
" airline symbols
let g:airline_left_sep = ''
let g:airline_left_alt_sep = ''
let g:airline_right_sep = ''
let g:airline_right_alt_sep = ''
let g:airline_symbols.branch = ''
let g:airline_symbols.readonly = ''
let g:airline_symbols.linenr = ''
nmap _d <Plug>(ale_go_to_definition_in_split) *
set completeopt-=preview
set completeopt+=longest,menuone,noselect
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment