summaryrefslogtreecommitdiffstats
path: root/.config/nvim/plug-config
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-11-01 00:37:45 +0100
committerJozanLeClerc <bousset.rudy@gmail.com>2020-11-01 00:37:45 +0100
commiteba3feea35b7075739a74aa84a5af314f8512f24 (patch)
treef02533daa3807f5a6e9832ac465d2c57bf9802ad /.config/nvim/plug-config
parentFound way to commit README (diff)
downloaddotfiles-bsd-eba3feea35b7075739a74aa84a5af314f8512f24.tar.gz
dotfiles-bsd-eba3feea35b7075739a74aa84a5af314f8512f24.tar.bz2
dotfiles-bsd-eba3feea35b7075739a74aa84a5af314f8512f24.tar.xz
dotfiles-bsd-eba3feea35b7075739a74aa84a5af314f8512f24.tar.zst
dotfiles-bsd-eba3feea35b7075739a74aa84a5af314f8512f24.zip
Separated git plugins configs
Diffstat (limited to '.config/nvim/plug-config')
-rw-r--r--.config/nvim/plug-config/airline.vim12
-rw-r--r--.config/nvim/plug-config/floaterm.vim6
-rw-r--r--.config/nvim/plug-config/nerd-commenter.vim9
-rw-r--r--.config/nvim/plug-config/org.vim3
-rw-r--r--.config/nvim/plug-config/quickscope.vim7
-rw-r--r--.config/nvim/plug-config/rainbow.vim2
-rw-r--r--.config/nvim/plug-config/startify.vim32
7 files changed, 71 insertions, 0 deletions
diff --git a/.config/nvim/plug-config/airline.vim b/.config/nvim/plug-config/airline.vim
new file mode 100644
index 0000000..868d910
--- /dev/null
+++ b/.config/nvim/plug-config/airline.vim
@@ -0,0 +1,12 @@
+" Airline
+let g:airline#extensions#tabline#enabled = 1
+let g:airline#extensions#tabline#fnamemod = ':t'
+let g:airline_detect_modified = 1
+let g:airline_detect_paste = 1
+let g:airline_detect_crypt = 1
+let g:airline_theme = 'base16_default'
+let g:airline_powerline_fonts = 1
+let g:airline_symbols_ascii = 1
+let g:airline#parts#ffenc#skip_expected_string = 'utf-8[unix]'
+let g:airline#extensions#cursormode#enabled = 1
+let g:airline#extensions#tabline#buffer_idx_mode = 1
diff --git a/.config/nvim/plug-config/floaterm.vim b/.config/nvim/plug-config/floaterm.vim
new file mode 100644
index 0000000..346fddc
--- /dev/null
+++ b/.config/nvim/plug-config/floaterm.vim
@@ -0,0 +1,6 @@
+" Floaterm
+let g:floaterm_autoinsert = 1
+let g:floaterm_width = 0.85
+let g:floaterm_height = 0.75
+let g:floaterm_wintitle = 0
+let g:floaterm_autoclose = 1
diff --git a/.config/nvim/plug-config/nerd-commenter.vim b/.config/nvim/plug-config/nerd-commenter.vim
new file mode 100644
index 0000000..04a942d
--- /dev/null
+++ b/.config/nvim/plug-config/nerd-commenter.vim
@@ -0,0 +1,9 @@
+" NERD Commenter
+let g:NERDSpaceDelims = 1
+let g:NERDCompactSexyComs = 1
+let g:NERDDefaultAlign = 'left'
+let g:NERDAltDelims_java = 1
+let g:NERDCustomDelimiters = { 'c': { 'left': '/*','right': '*/' } }
+let g:NERDCommentEmptyLines = 1
+let g:NERDTrimTrailingWhitespace = 1
+let g:NERDToggleCheckAllLines = 1
diff --git a/.config/nvim/plug-config/org.vim b/.config/nvim/plug-config/org.vim
new file mode 100644
index 0000000..bbf7682
--- /dev/null
+++ b/.config/nvim/plug-config/org.vim
@@ -0,0 +1,3 @@
+" Org-mode
+let g:org_todo_keywords = ['TODO', '|', 'DONE', 'CANCELED']
+let g:org_export_emacs = "/usr/local/bin/emacs"
diff --git a/.config/nvim/plug-config/quickscope.vim b/.config/nvim/plug-config/quickscope.vim
new file mode 100644
index 0000000..3c1eb0a
--- /dev/null
+++ b/.config/nvim/plug-config/quickscope.vim
@@ -0,0 +1,7 @@
+" 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/plug-config/rainbow.vim b/.config/nvim/plug-config/rainbow.vim
new file mode 100644
index 0000000..461770c
--- /dev/null
+++ b/.config/nvim/plug-config/rainbow.vim
@@ -0,0 +1,2 @@
+" Rainbow
+let g:rainbow_active = 1
diff --git a/.config/nvim/plug-config/startify.vim b/.config/nvim/plug-config/startify.vim
new file mode 100644
index 0000000..a7c5d50
--- /dev/null
+++ b/.config/nvim/plug-config/startify.vim
@@ -0,0 +1,32 @@
+" Startify
+let g:startify_custom_header = startify#pad([
+ \ ' _____________________________________ ',
+ \ ' / \',
+ \ ' | Hi, partner, welcome_back to |',
+ \ ' | _ __ ___ _____ _(_)_ __ ___ |',
+ \ ' | | ''_ \ / _ \/ _ \ \ / / | ''_ ` _ \ |',
+ \ ' | | | | | __/ (_) \ V /| | | | | | | |',
+ \ ' | |_| |_|\___|\___/ \_/ |_|_| |_| |_| |',
+ \ ' \ /',
+ \ ' ------------------------------------- ',
+ \ ' \ ^__^ ',
+ \ ' \ (oo)\_______ ',
+ \ ' (__)\ )\/\ ',
+ \ ' ||----w | ',
+ \ ' || || ',
+ \ ])
+let g:startify_lists = [
+ \ { 'type': 'sessions', 'header': startify#pad(['Sessions']) },
+ \ { 'type': 'files', 'header': startify#pad(['Recent']) },
+ \ { 'type': 'bookmarks', 'header': startify#pad(['Bookmarks']) },
+ \ { 'type': 'commands', 'header': startify#pad(['Commands']) },
+ \ ]
+let g:startify_bookmarks = [
+ \ { 'b': '~/.config/bspwm/bspwmrc' },
+ \ { 'e': '~/.config/env' },
+ \ { 'fa': '~/.config/fish/alias.fish' },
+ \ { 'fc': '~/.config/fish/config.fish' },
+ \ { 'v': '~/.config/nvim/init.vim' },
+ \ { 'zc': '~/.config/zsh/.zshrc' },
+ \ { 'za': '~/.config/zsh/alias.zsh' },
+ \ ]