summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xneovim/.config/nvim/confs/bufferline.vim14
-rwxr-xr-xneovim/.config/nvim/confs/gitsigns.vim2
-rwxr-xr-xneovim/.config/nvim/confs/hover.vim2
-rwxr-xr-xneovim/.config/nvim/confs/keybinds.vim17
-rwxr-xr-xneovim/.config/nvim/confs/lualine.vim5
-rwxr-xr-xneovim/.config/nvim/confs/nvimlsp.vim2
-rwxr-xr-xneovim/.config/nvim/init.vim11
7 files changed, 38 insertions, 15 deletions
diff --git a/neovim/.config/nvim/confs/bufferline.vim b/neovim/.config/nvim/confs/bufferline.vim
new file mode 100755
index 0000000..41cf77e
--- /dev/null
+++ b/neovim/.config/nvim/confs/bufferline.vim
@@ -0,0 +1,14 @@
+lua << EOF
+require("bufferline").setup{
+ options = {
+ offsets = {
+ {
+ filetype = "NvimTree",
+ text = "File Explorer",
+ text_align = "left",
+ separator = true
+ }
+ },
+ }
+}
+EOF
diff --git a/neovim/.config/nvim/confs/gitsigns.vim b/neovim/.config/nvim/confs/gitsigns.vim
index 9e0106b..9365ac9 100755
--- a/neovim/.config/nvim/confs/gitsigns.vim
+++ b/neovim/.config/nvim/confs/gitsigns.vim
@@ -1,4 +1,4 @@
-lua <<EOF
+lua << EOF
require('gitsigns').setup {
signs = {
add = { text = '+' },
diff --git a/neovim/.config/nvim/confs/hover.vim b/neovim/.config/nvim/confs/hover.vim
index a955964..cf3b51e 100755
--- a/neovim/.config/nvim/confs/hover.vim
+++ b/neovim/.config/nvim/confs/hover.vim
@@ -1,4 +1,4 @@
-lua<<EOF
+lua << EOF
require("hover").setup {
init = function()
-- Require providers
diff --git a/neovim/.config/nvim/confs/keybinds.vim b/neovim/.config/nvim/confs/keybinds.vim
index 105bc3a..376a337 100755
--- a/neovim/.config/nvim/confs/keybinds.vim
+++ b/neovim/.config/nvim/confs/keybinds.vim
@@ -1,5 +1,5 @@
" Leader Key
-let mapleader="."
+let mapleader=" "
" Limiter Column Color
" https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=bdc48fa11e46f867ea4d75fa59ee87a7f48be144
@@ -27,17 +27,18 @@ map <F4> :!clear && shellcheck % <CR>
map <leader>c :Gitsigns preview_hunk_inline<CR>
" NvimTree
-nnoremap <leader>n :NvimTreeToggle<CR>
+nnoremap <leader>f :NvimTreeToggle<CR>
nnoremap <leader>r :NvimTreeRefresh<CR>
-nnoremap <leader>f :NvimTreeFindFile<CR>
" TeleScope
-nnoremap <leader>ff <cmd>Telescope find_files<cr>
-nnoremap <leader>fg <cmd>Telescope live_grep<cr>
-nnoremap <leader>fb <cmd>Telescope buffers<cr>
-nnoremap <leader>fh <cmd>Telescope help_tags<cr>
+nnoremap <leader>t <cmd>Telescope find_files<cr>
-lua <<EOF
+" Move between buffers
+map <C-l> :bnext<CR>
+map <C-h> :bprev<CR>
+map <C-w> :bdel<CR>
+
+lua << EOF
-- Documentation view on hover
vim.keymap.set("n", "K", require("hover").hover, {desc = "hover.nvim"})
diff --git a/neovim/.config/nvim/confs/lualine.vim b/neovim/.config/nvim/confs/lualine.vim
new file mode 100755
index 0000000..22f57cf
--- /dev/null
+++ b/neovim/.config/nvim/confs/lualine.vim
@@ -0,0 +1,5 @@
+lua << EOF
+require('lualine').setup {
+ options = { theme = 'palenight' }
+}
+EOF
diff --git a/neovim/.config/nvim/confs/nvimlsp.vim b/neovim/.config/nvim/confs/nvimlsp.vim
index c8319ef..d91d17a 100755
--- a/neovim/.config/nvim/confs/nvimlsp.vim
+++ b/neovim/.config/nvim/confs/nvimlsp.vim
@@ -1,4 +1,4 @@
-lua <<EOF
+lua << EOF
-- Set up nvim-cmp.
local cmp = require('cmp')
local lspkind = require('lspkind')
diff --git a/neovim/.config/nvim/init.vim b/neovim/.config/nvim/init.vim
index a94ac50..990af56 100755
--- a/neovim/.config/nvim/init.vim
+++ b/neovim/.config/nvim/init.vim
@@ -2,13 +2,13 @@
call plug#begin('~/.config/nvim/plugged')
" NVimTree
-Plug 'kyazdani42/nvim-web-devicons'
-Plug 'kyazdani42/nvim-tree.lua'
+Plug 'nvim-tree/nvim-tree.lua'
+Plug 'nvim-tree/nvim-web-devicons'
" AutoPairs
Plug 'jiangmiao/auto-pairs'
" TeleScope
Plug 'nvim-lua/plenary.nvim'
-Plug 'nvim-telescope/telescope.nvim', { 'tag': '0.1.1' }
+Plug 'nvim-telescope/telescope.nvim', { 'tag': '0.*' }
" NvimLSP
Plug 'neovim/nvim-lspconfig'
Plug 'hrsh7th/cmp-nvim-lsp'
@@ -22,7 +22,10 @@ Plug 'onsails/lspkind.nvim'
Plug 'lewis6991/gitsigns.nvim'
" Hover
Plug 'lewis6991/hover.nvim'
-
+" LuaLine
+Plug 'nvim-lualine/lualine.nvim'
+" Bufferline
+Plug 'akinsho/bufferline.nvim', { 'tag': '*' }
call plug#end()
" Configurations