summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-10-25 04:00:24 +0100
committerJozanLeClerc <bousset.rudy@gmail.com>2020-10-25 04:00:24 +0100
commit0198925f58c028a503c76c59eaee5f4c380af1b3 (patch)
treee99c471046a5391c837a755d12fb3a40115479dd
parentLearned a new trick today woo (diff)
downloaddotfiles-bsd-0198925f58c028a503c76c59eaee5f4c380af1b3.tar.gz
dotfiles-bsd-0198925f58c028a503c76c59eaee5f4c380af1b3.tar.bz2
dotfiles-bsd-0198925f58c028a503c76c59eaee5f4c380af1b3.tar.xz
dotfiles-bsd-0198925f58c028a503c76c59eaee5f4c380af1b3.tar.zst
dotfiles-bsd-0198925f58c028a503c76c59eaee5f4c380af1b3.zip
Added new plugin for vim
Diffstat (limited to '')
-rw-r--r--.config/nvim/plug.vim1
-rw-r--r--.config/nvim/plugins.vim8
-rw-r--r--.config/nvim/settings.vim8
3 files changed, 13 insertions, 4 deletions
diff --git a/.config/nvim/plug.vim b/.config/nvim/plug.vim
index 20a925f..23abaaa 100644
--- a/.config/nvim/plug.vim
+++ b/.config/nvim/plug.vim
@@ -21,6 +21,7 @@ Plug 'sainnhe/gruvbox-material'
Plug 'tpope/vim-fugitive'
Plug 'tpope/vim-surround'
Plug 'tpope/vim-speeddating'
+Plug 'unblevable/quick-scope'
Plug 'vifm/vifm.vim'
Plug 'vim-airline/vim-airline'
Plug 'vim-airline/vim-airline-themes'
diff --git a/.config/nvim/plugins.vim b/.config/nvim/plugins.vim
index 1db6e63..5b5cb47 100644
--- a/.config/nvim/plugins.vim
+++ b/.config/nvim/plugins.vim
@@ -76,3 +76,11 @@ let g:floaterm_width = 0.85
let g:floaterm_height = 0.75
let g:floaterm_wintitle = 0
let g:floaterm_autoclose = 1
+
+" Quickscope
+let g:qs_highlight_on_keys = ['f', 'F', 't', 'T']
+
+highlight QuickScopePrimary guifg='#00C7DF' gui=underline ctermfg=155 cterm=underline
+highlight QuickScopeSecondary guifg='#afff5f' gui=underline ctermfg=81 cterm=underline
+
+let g:qs_max_chars=150
diff --git a/.config/nvim/settings.vim b/.config/nvim/settings.vim
index f973179..c9d3702 100644
--- a/.config/nvim/settings.vim
+++ b/.config/nvim/settings.vim
@@ -21,10 +21,10 @@ syntax on
filetype plugin indent on
" autocmd ColorScheme * highlight Normal ctermbg=NONE guibg=NONE
colorscheme gruvbox-material
-highlight Normal ctermbg=none
-highlight NonText ctermbg=none
-highlight LineNr ctermbg=none
-highlight EndOfBuffer ctermbg=none
+highlight Normal ctermbg=none guibg=none
+highlight NonText ctermbg=none guibg=none
+highlight LineNr ctermbg=none guibg=none
+highlight EndOfBuffer ctermbg=none guibg=none
let mapleader="\\"
let maplocalleader="\\"
" Disables automatic commenting on newline: