Created
December 20, 2019 19:09
-
-
Save igreulich/795e8007809be4d60f36b1dc15e15c63 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
colorscheme space-vim-dark | |
hi Comment cterm=italic | |
hi LineNr ctermbg=NONE guibg=NONE | |
set t_Co=256 | |
set encoding=utf-8 | |
set guifont=SauceCodePro_Nerd_Font:h12 | |
set guioptions=aAce | |
set termguicolors | |
set autoread | |
set expandtab | |
set tabstop=2 | |
set shiftwidth=2 | |
set listchars=tab:▸\ ,trail:.,eol:¬ | |
set statusline+=%#warningmsg# | |
set statusline+=%{SyntasticStatuslineFlag()} | |
set statusline+=%* | |
let g:NERDTreeIndicatorMapCustom = { | |
\ "Modified" : "~", | |
\ "Staged" : "+", | |
\ "Untracked" : "*", | |
\ "Renamed" : "", | |
\ "Unmerged" : "⇅", | |
\ "Deleted" : "-", | |
\ "Dirty" : "✘", | |
\ "Clean" : "✔", | |
\ 'Ignored' : "⊘", | |
\ "Unknown" : "⚠" | |
\ } | |
let g:airline_theme = 'base16_spacemacs' | |
let g:airline_powerline_fonts = 1 | |
let g:airline_left_sep = '' | |
let g:airline_right_sep = '' | |
let g:syntastic_javascript_checkers = ['eslint'] | |
let g:syntastic_always_populate_loc_list = 1 | |
let g:syntastic_loc_list_height = 5 | |
let g:syntastic_auto_loc_list = 1 | |
let g:syntastic_check_on_open = 1 | |
let g:syntastic_check_on_wq = 0 | |
let g:syntastic_error_symbol = "" | |
let g:syntastic_style_error_symbol = "" | |
let g:syntastic_warning_symbol = "" | |
let g:syntastic_style_warning_symbol = "" | |
let g:syntastic_mode_map = { "mode": "active" } | |
let g:javascript_plugin_flow = 1 | |
let g:jsx_ext_required = 0 | |
function! <SID>StripTrailingWhitespace() | |
"Preparation: save last search, and cursor position. | |
let _s=@/ | |
let l = line(".") | |
let c = col(".") | |
" Do the business: | |
%s/\s\+$//e | |
" Clean up: restore previous search history, and cursor position | |
let @/=_s | |
call cursor(l, c) | |
endfunction | |
noremap <C-CR> i | |
O | |
nnoremap <silent> <leader><space> :call <SID>StripTrailingWhitespace()<CR> | |
nnoremap <leader>l :set list!<CR> | |
nnoremap <leader>r :retab!<CR> | |
nnoremap <C-h> <C-w>h | |
nnoremap <C-j> <C-w>j | |
nnoremap <C-k> <C-w>k | |
nnoremap <C-l> <C-w>l |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment