1
0
mirror of https://github.com/vbrandl/dotfiles synced 2025-07-01 16:55:09 +02:00

Update vimrc

This commit is contained in:
Valentin Brandl
2017-04-12 15:54:04 +02:00
parent 9fff99c240
commit 00ba6dc994
2 changed files with 11 additions and 15 deletions

View File

@ -1,10 +1,11 @@
" vundle
" set vIM mode
set nocompatible
filetype plugin indent on
source ~/.vim/plugins.vim
filetype plugin indent on
" Get the defaults that most users want.
source $VIMRUNTIME/defaults.vim
@ -260,11 +261,9 @@ let g:ctrlp_switch_buffer = 0 " open files in new buffer
let g:ctrlp_working_path_mode = 0 " honor working path changes in vim session
let g:ctrlp_user_command = 'ag %s -l --nocolor --hidden -g ""' " use ag to search for files (faster)
" make true colors in tmux work
" set t_8f=[38;2;%lu;%lu;%lum
" set t_8b=[48;2;%lu;%lu;%lum
" true color
set termguicolors
" make true colors in tmux work
let &t_8f = "\<Esc>[38;2;%lu;%lu;%lum"
let &t_8b = "\<Esc>[48;2;%lu;%lu;%lum"
@ -289,6 +288,8 @@ let g:airline#extensions#tabline#tab_min_count = 2 " only show tabline if tabs a
let g:airline#extensions#tabline#show_buffers = 0 " do not show open buffers in tabline
let g:airline#extensions#tabline#show_splits = 0
let g:onedark_terminal_italics = 1 " italics for onedark
" Toggle NERDTree
nmap <silent> <leader>k :NERDTreeToggle<cr>
" expand to the path of the file in the current buffer
@ -375,4 +376,6 @@ map <Leader>vs :VimuxInterruptRunner<CR>
" vim-notes
let g:notes_directories = ['~/Dokumente/Notes']
let g:LatexBox_split_type="new" " open TOC in horizontal split
" vim: set filetype=vim ts=8 sw=2 tw=120 noet :