From 1bf800391f4d02a2cd2781b2e6b7cec1e62b478f Mon Sep 17 00:00:00 2001 From: Charles Cabergs Date: Fri, 2 Oct 2020 16:19:38 +0200 Subject: Added keyrepeat delay, vim css,html 2 shiftwidth --- .vimrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '.vimrc') diff --git a/.vimrc b/.vimrc index 76dd3e9..552d03e 100644 --- a/.vimrc +++ b/.vimrc @@ -242,7 +242,7 @@ autocmd Filetype vim setlocal foldmethod=marker autocmd FileType haskell set formatprg=stylish-haskell -autocmd FileType lisp set shiftwidth=2 +autocmd FileType lisp,html,css set shiftwidth=2 " }}} """""""""""" -- cgit From a23b58c60540281e41dc73313f2c9598cf37a17f Mon Sep 17 00:00:00 2001 From: Charles Cabergs Date: Fri, 13 Nov 2020 21:54:25 +0100 Subject: Readded battery --- .vimrc | 2 ++ 1 file changed, 2 insertions(+) (limited to '.vimrc') diff --git a/.vimrc b/.vimrc index 552d03e..7df3057 100644 --- a/.vimrc +++ b/.vimrc @@ -243,6 +243,8 @@ autocmd Filetype vim setlocal foldmethod=marker autocmd FileType haskell set formatprg=stylish-haskell autocmd FileType lisp,html,css set shiftwidth=2 + +autocmd FileType js set shiftwidth=4 " }}} """""""""""" -- cgit From d5d139023c4aa3c5e633cd6128cab7ef13b92e85 Mon Sep 17 00:00:00 2001 From: Charles Cabergs Date: Sun, 7 Feb 2021 21:06:37 +0100 Subject: Updated .vimrc, C syntax in header files instead of C++ --- .vimrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '.vimrc') diff --git a/.vimrc b/.vimrc index 6bbfe7f..61c669a 100644 --- a/.vimrc +++ b/.vimrc @@ -249,7 +249,7 @@ autocmd BufReadPre *.md autocmd! BufWritePre " filetype {{{ " real tab in c file for school projects -autocmd BufReadPre,BufNewFile *.h,*.c set filetype=c +let g:c_syntax_for_h = 1 " filetype=c in header files instead of filetype=cpp autocmd Filetype c setlocal noexpandtab " std::cout << ... << std::endl; shortcut autocmd Filetype cpp nnoremap cout istd::cout << << std::endl;2F Date: Fri, 12 Feb 2021 11:48:29 +0100 Subject: Switch theme to dracula, Updated qutebrowser never accept notifications --- .vimrc | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to '.vimrc') diff --git a/.vimrc b/.vimrc index 61c669a..eb6319e 100644 --- a/.vimrc +++ b/.vimrc @@ -84,24 +84,24 @@ set nofoldenable " not folded by default " colorscheme onedark " }}} " dracula {{{ -" let g:dracula_bold = 1 -" let g:dracula_italic = 1 -" let g:dracula_colorterm = 0 -" colorscheme dracula +let g:dracula_bold = 1 +let g:dracula_italic = 1 +let g:dracula_colorterm = 0 +colorscheme dracula " }}} " solarized {{{ -set t_Co=16 -let g:solarized_termcolors=16 -let g:solarized_visibility='low' " visibility of invisible chars with set list -set background=dark -colorscheme solarized +" set t_Co=16 +" let g:solarized_termcolors=16 +" let g:solarized_visibility='low' " visibility of invisible chars with set list +" set background=dark +" colorscheme solarized " }}} " lightline {{{ let g:lightline = {} " let g:lightline.colorscheme = 'solarized' " lightline theme to solarized " let g:lightline.colorscheme = 'jellybeans' " lightline theme to onedark let g:lightline = { - \ 'colorscheme': 'solarized', + \ 'colorscheme': 'dracula', \ 'active': { \ 'left': [ [ 'mode', 'paste' ], \ [ 'gitbranch', 'readonly', 'filename', 'modified' ] ] -- cgit From d4a917623ce4a8dc7e4feb2fa50407d33eb6c36f Mon Sep 17 00:00:00 2001 From: Charles Cabergs Date: Fri, 12 Feb 2021 23:06:27 +0100 Subject: Updated vim Goyo height, Added vim rfc syntax highlighting --- .vimrc | 2 ++ 1 file changed, 2 insertions(+) (limited to '.vimrc') diff --git a/.vimrc b/.vimrc index eb6319e..f24fcb4 100644 --- a/.vimrc +++ b/.vimrc @@ -304,3 +304,5 @@ let g:c_formatter_42_format_on_save = 0 let g:gutentags_ctags_exclude = ['doc/*', 'Makefile'] " let g:gutentags_ctags_exclude_wildignore = 1 + +let g:goyo_height = 90 -- cgit From 22fb4594ec830f0072e9f0b45bac3a5f19897987 Mon Sep 17 00:00:00 2001 From: Charles Cabergs Date: Sat, 20 Feb 2021 23:46:53 +0100 Subject: Switching back to solarized (weird bug when openning file with autocmd, takes 2/3 seconds), Added qutebrowser larouse search engine and blocking 3rd party cookies --- .vimrc | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to '.vimrc') diff --git a/.vimrc b/.vimrc index f24fcb4..fe017a1 100644 --- a/.vimrc +++ b/.vimrc @@ -84,24 +84,24 @@ set nofoldenable " not folded by default " colorscheme onedark " }}} " dracula {{{ -let g:dracula_bold = 1 -let g:dracula_italic = 1 -let g:dracula_colorterm = 0 -colorscheme dracula +" let g:dracula_bold = 1 +" let g:dracula_italic = 1 +" let g:dracula_colorterm = 0 +" colorscheme dracula " }}} " solarized {{{ -" set t_Co=16 -" let g:solarized_termcolors=16 -" let g:solarized_visibility='low' " visibility of invisible chars with set list -" set background=dark -" colorscheme solarized +set t_Co=16 +let g:solarized_termcolors=16 +let g:solarized_visibility='low' " visibility of invisible chars with set list +set background=dark +colorscheme solarized " }}} " lightline {{{ let g:lightline = {} " let g:lightline.colorscheme = 'solarized' " lightline theme to solarized " let g:lightline.colorscheme = 'jellybeans' " lightline theme to onedark let g:lightline = { - \ 'colorscheme': 'dracula', + \ 'colorscheme': 'solarized', \ 'active': { \ 'left': [ [ 'mode', 'paste' ], \ [ 'gitbranch', 'readonly', 'filename', 'modified' ] ] -- cgit