File tree 1 file changed +21
-2
lines changed
1 file changed +21
-2
lines changed Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ Plugin 'itchyny/lightline.vim'
13
13
call vundle#end ()
14
14
filetype plugin indent on
15
15
16
- set laststatus = 2
16
+ " set laststatus=2
17
17
18
18
set mouse = a
19
19
set tabstop = 2
@@ -26,6 +26,25 @@ set softtabstop=0
26
26
set expandtab
27
27
set clipboard = unnamedplus
28
28
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
+
29
48
imap <C-d> <C-[> diwi
30
49
noremap <F4> :!<CR>
31
50
map <C-DOWN> <C-E>
@@ -36,7 +55,7 @@ noremap <c-S> :w<CR>
36
55
noremap <c-T> :tabn<CR>
37
56
noremap <c-N> :tabe<CR>
38
57
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>
40
59
noremap <F10> :!./%:r<CR>
41
60
noremap <c-B> :!time ./%:r < in<CR>
42
61
noremap <c-Z> :u<CR>
You can’t perform that action at this time.
0 commit comments