1
0

update plugin config

This commit is contained in:
valeth 2015-11-06 09:03:53 +01:00
parent bfaaad143a
commit 3e4ca2cc09
9 changed files with 18 additions and 35 deletions

5
plugins/airline.vim Normal file
View File

@ -0,0 +1,5 @@
let g:airline#extensions#tabline#enabled = 1
let g:airline_powerline_fonts = 1
set laststatus=2
set noshowmode

3
plugins/haskellmode.vim Normal file
View File

@ -0,0 +1,3 @@
let g:haddock_browser="/usr/bin/chromium"
"au BufEnter *.hs compiler ghc

View File

@ -1,6 +1,4 @@
"colorscheme molokai
"set background=dark
set background=dark
"let g:molokai_original = 1
"let g:rehash256 = 1
let g:rehash256 = 1

View File

@ -1,5 +1,5 @@
" the filetypes for which vim-pandoc should be used
let g:pandoc#filetypes#handles = [ "pandoc", "markdown" ]
let g:pandoc#filetypes#handles = [ "markdown", "pandoc" ]
" enable pandoc for markdown
let g:pandoc#filetypes#pandoc_markdown = 1

View File

@ -1,6 +1,8 @@
set laststatus=2
set noshowmode
set showtabline=2
"set noshowmode
"if has('windows')
"set showtabline=2
"endif
let g:powerline_pycmd = "py3"
let g:powerline_pyeval = g:powerline_pycmd . "eval"

View File

@ -14,7 +14,6 @@
let g:seoul256_background = 237
let g:seoul256_light_background = 254
colorscheme seoul256
function! ToggleColorscheme()
if g:colors_name == 'seoul256'

View File

@ -1,25 +0,0 @@
if exists('$TMUX')
function! TmuxOrSplitSwitch(wincmd, tmuxdir)
let previous_winnr = winnr()
silent! execute "wincmd " . a:wincmd
if previous_winnr == winnr()
call system("tmux select-pane -" . a:tmuxdir)
redraw!
endif
endfunction
let previous_title = substitute(system("tmux display-message -p '#{pane_title}'"), '\n', '', '')
let &t_ti = "\<Esc>]2;vim\<Esc>\\" . &t_ti
let &t_te = "\<Esc>]2;". previous_title . "\<Esc>\\" . &t_te
noremap <silent><C-h> :call TmuxOrSplitSwitch('h', 'L')<cr>
noremap <silent><C-l> :call TmuxOrSplitSwitch('l', 'R')<cr>
noremap <silent><C-k> :call TmuxOrSplitSwitch('k', 'U')<cr>
noremap <silent><C-j> :call TmuxOrSplitSwitch('j', 'D')<cr>
noremap <silent><C-b> :call TmuxOrSplitSwitch('b', 'l')<cr>
else
noremap <C-h> <C-w>h
noremap <C-j> <C-w>j
noremap <C-k> <C-w>k
noremap <C-l> <C-w>l
endif

View File

@ -1,4 +1,5 @@
let g:ycm_global_ycm_extra_conf = g:vim_config_home . "/plugins/youcompleteme/ycm_extra_conf.py"
let g:ycm_autoclose_preview_window_after_completion = 1
let g:ycm_register_as_syntastic_checker = 1
let g:ycm_server_keep_logfile = 1

View File

@ -9,7 +9,7 @@ import ycm_core
# "flags" list of compilation flags. Notice that YCM itself uses that approach.
compilation_database_folder = ""
flags = [ "-Wall", "-Werror", "-std=c99" ]
flags = [ "-Wall", "-Werror", "-std=c11" ]
if os.path.exists( compilation_database_folder ):
database = ycm_core.CompilationDatabase( compilation_database_folder )