aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCharles <sircharlesaze@gmail.com>2020-03-28 22:25:24 +0100
committerCharles <sircharlesaze@gmail.com>2020-03-28 22:25:24 +0100
commit66c963bb41213bc09dac88b201ba67ba4d0835ad (patch)
tree66fb9864857d527b99895655ee794eca5fd1bd54
parentebb061bc953b647bc2944e4f203f2d3fd30d181d (diff)
downloaddotfiles-66c963bb41213bc09dac88b201ba67ba4d0835ad.tar.gz
dotfiles-66c963bb41213bc09dac88b201ba67ba4d0835ad.tar.bz2
dotfiles-66c963bb41213bc09dac88b201ba67ba4d0835ad.zip
Added vim pluggin: quick-scope
-rw-r--r--.pluggins.vim1
-rw-r--r--.vimrc22
-rw-r--r--xmonad.hs6
3 files changed, 20 insertions, 9 deletions
diff --git a/.pluggins.vim b/.pluggins.vim
index c3951a5..2312e9a 100644
--- a/.pluggins.vim
+++ b/.pluggins.vim
@@ -5,6 +5,7 @@ call plug#begin()
Plug 'tpope/vim-eunuch' " basic unix command in vim
Plug 'tomtom/tcomment_vim' " mininal commenter
Plug 'itchyny/lightline.vim' " minimal status bar
+ Plug 'unblevable/quick-scope' " highlight first char to jump to word
" bloat??
Plug 'romainl/vim-cool' " disable highlight after search
diff --git a/.vimrc b/.vimrc
index cc4fdad..684528c 100644
--- a/.vimrc
+++ b/.vimrc
@@ -66,13 +66,6 @@ set noshowmode " dont show current mode (i.e --INSERT--)
set foldmethod=indent " create fold based on the text indent
" }}}
-" ctrlp pluggin {{{
-" directory to ignore when searching in file tree
-set wildignore=*/tmp/*,*.o,*.so,*.swp,*.zip,*/node_modules/*,*/vendor/*,.bundle/*,bin/*,.git/*
-" ctrlp ignore all stuff in the .gitignore
-let g:ctrlp_user_command = ['.git', 'cd %s && git ls-files -co --exclude-standard']
-" }}}
-
"""""""""""""""
" colorscheme "
"""""""""""""""
@@ -172,3 +165,18 @@ autocmd Filetype c setlocal noexpandtab
" vim fold method to marker
autocmd Filetype vim setlocal foldmethod=marker
" }}}
+
+""""""""""""
+" pluggins "
+""""""""""""
+
+" ctrlp {{{
+" directory to ignore when searching in file tree
+set wildignore=*/tmp/*,*.o,*.so,*.swp,*.zip,*/node_modules/*,*/vendor/*,.bundle/*,bin/*,.git/*
+" ctrlp ignore all stuff in the .gitignore
+let g:ctrlp_user_command = ['.git', 'cd %s && git ls-files -co --exclude-standard']
+" }}}
+
+" quick-scope {{{
+let g:qs_highlight_on_keys = ['f', 'F', 't', 'T']
+" }}}
diff --git a/xmonad.hs b/xmonad.hs
index 99a35e8..90c536e 100644
--- a/xmonad.hs
+++ b/xmonad.hs
@@ -21,8 +21,10 @@ main = do
, startupHook = myStartupHook
} `additionalKeysP` myKeys
-myLayouts = tiled ||| Mirror tiled ||| noBorders Full
- where tiled = Tall 1 (3 / 100) (3 / 5)
+myLayouts = tiledBigMaster ||| Mirror tiledEven ||| noBorders Full
+ where tiledBigMaster = Tall 1 (3 / 100) (3 / 5)
+ tiledEven = Tall 1 (3 / 100) (1 / 2)
+
myStartupHook = do
spawnOnce "redshift -c /home/charles/.config/redshift.conf &"