Skip to content

Commit 3e4ad81

Browse files
authored
Update .vimrc
Updated vimrc to latest configuration
1 parent c8c21d7 commit 3e4ad81

File tree

1 file changed

+21
-2
lines changed

1 file changed

+21
-2
lines changed

.vimrc

+21-2
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ Plugin 'itchyny/lightline.vim'
1313
call vundle#end()
1414
filetype plugin indent on
1515

16-
set laststatus=2
16+
" set laststatus=2
1717

1818
set mouse=a
1919
set tabstop=2
@@ -26,6 +26,25 @@ set softtabstop=0
2626
set expandtab
2727
set clipboard=unnamedplus
2828

29+
" syntax on
30+
" colorscheme onedark
31+
"
32+
" "Use 24-bit (true-color) mode in Vim/Neovim when outside tmux.
33+
" "If you're using tmux version 2.2 or later, you can remove the outermost $TMUX check and use tmux's 24-bit color support
34+
" "(see < http://sunaku.github.io/tmux-24bit-color.html#usage > for more information.)
35+
" if (empty($TMUX))
36+
" if (has("nvim"))
37+
" "For Neovim 0.1.3 and 0.1.4 < https://github.com/neovim/neovim/pull/2198 >
38+
" let $NVIM_TUI_ENABLE_TRUE_COLOR=1
39+
" endif
40+
" "For Neovim > 0.1.5 and Vim > patch 7.4.1799 < https://github.com/vim/vim/commit/61be73bb0f965a895bfb064ea3e55476ac175162 >
41+
" "Based on Vim patch 7.4.1770 (`guicolors` option) < https://github.com/vim/vim/commit/8a633e3427b47286869aa4b96f2bfc1fe65b25cd >
42+
" " < https://github.com/neovim/neovim/wiki/Following-HEAD#20160511 >
43+
" if (has("termguicolors"))
44+
" set termguicolors
45+
" endif
46+
" endif
47+
2948
imap <C-d> <C-[>diwi
3049
noremap <F4> :!<CR>
3150
map <C-DOWN> <C-E>
@@ -36,7 +55,7 @@ noremap <c-S> :w<CR>
3655
noremap <c-T> :tabn<CR>
3756
noremap <c-N> :tabe<CR>
3857
nnoremap <F8> :!g++ -std=c++14 -Wall -O2 %:r.cpp -o %:r<CR>
39-
noremap <F9> :w \| !g++ -std=c++14 -pedantic -Wall -Wunused -Wuninitialized -Wfloat-equal -Woverflow -Wshadow -Wextra -Wconversion -DABHI %:r.cpp -o %:r<CR>
58+
noremap <F9> :w \| !g++ -std=c++14 -pedantic -Wall -Wunused -Wuninitialized -Wfloat-equal -Woverflow -Wshadow -Wextra -Wconversion -DDEBUG %:r.cpp -o %:r<CR>
4059
noremap <F10> :!./%:r<CR>
4160
noremap <c-B> :!time ./%:r < in<CR>
4261
noremap <c-Z> :u<CR>

0 commit comments

Comments
 (0)