summaryrefslogtreecommitdiffstats
path: root/.config/nvim
diff options
context:
space:
mode:
authorJoe <rrbo@proton.me>2023-09-05 14:05:27 +0200
committerJoe <rrbo@proton.me>2023-09-05 14:05:27 +0200
commit992f997054aeff8034de3d4b153f2cf4ead733f4 (patch)
tree9852d4fed6bce145aee35a85d365d31c074388fe /.config/nvim
parentup (diff)
downloaddotfiles-bsd-992f997054aeff8034de3d4b153f2cf4ead733f4.tar.gz
dotfiles-bsd-992f997054aeff8034de3d4b153f2cf4ead733f4.tar.bz2
dotfiles-bsd-992f997054aeff8034de3d4b153f2cf4ead733f4.tar.xz
dotfiles-bsd-992f997054aeff8034de3d4b153f2cf4ead733f4.tar.zst
dotfiles-bsd-992f997054aeff8034de3d4b153f2cf4ead733f4.zip
up
Diffstat (limited to '.config/nvim')
-rw-r--r--.config/nvim/init.lua7
-rw-r--r--.config/nvim/lua/plug.lua6
-rw-r--r--.config/nvim/plug-config/asyncomplete.vim11
-rw-r--r--.config/nvim/plug-config/floaterm.vim20
4 files changed, 8 insertions, 36 deletions
diff --git a/.config/nvim/init.lua b/.config/nvim/init.lua
index 577639e..05b82b6 100644
--- a/.config/nvim/init.lua
+++ b/.config/nvim/init.lua
@@ -21,9 +21,10 @@ require('bindings')
require('sidebars')
require('langs')
require('plugs-config/treesitter')
-vim.cmd('source ' .. confdir .. '/nvim/plug-config/airline.vim')
-vim.cmd('source ' .. confdir .. '/nvim/plug-config/asyncomplete.vim')
-vim.cmd('source ' .. confdir .. '/nvim/plug-config/floaterm.vim')
+require('plugs-config/asyncomplete')
+require('plugs-config/floaterm')
+require('plugs-config/lualine')
+-- vim.cmd('source ' .. confdir .. '/nvim/plug-config/airline.vim')
vim.cmd('source ' .. confdir .. '/nvim/plug-config/nerd-commenter.vim')
vim.cmd('source ' .. confdir .. '/nvim/plug-config/org.vim')
vim.cmd('source ' .. confdir .. '/nvim/plug-config/quickscope.vim')
diff --git a/.config/nvim/lua/plug.lua b/.config/nvim/lua/plug.lua
index 06b30a2..c411e02 100644
--- a/.config/nvim/lua/plug.lua
+++ b/.config/nvim/lua/plug.lua
@@ -25,6 +25,7 @@ Plug('preservim/tagbar')
Plug('preservim/nerdcommenter')
Plug('preservim/nerdtree')
Plug('ryanoasis/vim-devicons')
+Plug('nvim-tree/nvim-web-devicons')
Plug('sainnhe/gruvbox-material')
Plug('tpope/vim-dispatch')
Plug('tpope/vim-fugitive')
@@ -32,8 +33,9 @@ Plug('tpope/vim-speeddating')
Plug('tpope/vim-surround')
Plug('unblevable/quick-scope')
Plug('vifm/vifm.vim')
-Plug('vim-airline/vim-airline')
-Plug('vim-airline/vim-airline-themes')
+-- Plug('vim-airline/vim-airline')
+-- Plug('vim-airline/vim-airline-themes')
+Plug('nvim-lualine/lualine.nvim')
Plug('vim-scripts/grep.vim')
Plug('voldikss/fzf-floaterm')
Plug('voldikss/vim-floaterm')
diff --git a/.config/nvim/plug-config/asyncomplete.vim b/.config/nvim/plug-config/asyncomplete.vim
deleted file mode 100644
index 60c9cf1..0000000
--- a/.config/nvim/plug-config/asyncomplete.vim
+++ /dev/null
@@ -1,11 +0,0 @@
-autocmd User asyncomplete_setup call asyncomplete#register_source(
- \ asyncomplete#sources#clang#get_source_options({
- \ 'config': {
- \ 'clang_path': '/usr/bin/cc',
- \ 'clang_args': {
- \ 'default': ['-I/usr/include'],
- \ 'c': ['-std=c89', '-I/usr/include'],
- \ 'cpp': ['-std=c++98', '-I/usr/include']
- \ }
- \ }
- \ }))
diff --git a/.config/nvim/plug-config/floaterm.vim b/.config/nvim/plug-config/floaterm.vim
deleted file mode 100644
index 2ac83b9..0000000
--- a/.config/nvim/plug-config/floaterm.vim
+++ /dev/null
@@ -1,20 +0,0 @@
-" Floaterm
-let g:floaterm_autoinsert = 1
-let g:floaterm_width = 0.6
-let g:floaterm_height = 0.45
-let g:floaterm_wintitle = 0
-let g:floaterm_autoclose = 1
-let g:floaterm_position = 'bottom'
-let g:floaterm_gitcommit = 'split'
-let g:floaterm_wintype = 'floating'
-let g:floaterm_rootmarkers =
- \ [
- \ '.project',
- \ '.git',
- \ '.hg',
- \ '.svn',
- \ '.root',
- \ '.gitignore',
- \ '.fslckout',
- \ '.fossil-settings'
- \ ]