✏️ Added mintabline to neovim
This commit is contained in:
parent
3aaae907d4
commit
2ecdd4b73f
4 changed files with 8 additions and 2 deletions
|
|
@ -397,6 +397,9 @@ vim.cmd[[command! -nargs=* FZFExplore call FzfExplore(shellescape(<q-args>))]]
|
||||||
-- fzf is on bottom of screen
|
-- fzf is on bottom of screen
|
||||||
vim.cmd[[let g:fzf_layout = { 'down': '~30%' }]]
|
vim.cmd[[let g:fzf_layout = { 'down': '~30%' }]]
|
||||||
|
|
||||||
|
-- max tab characters
|
||||||
|
vim.cmd[[let g:mintabline_tab_max_chars = 10 ]]
|
||||||
|
|
||||||
--Removes trailing spaces on save
|
--Removes trailing spaces on save
|
||||||
vim.cmd[[autocmd FileWritePre * call TrimWhiteSpace()]]
|
vim.cmd[[autocmd FileWritePre * call TrimWhiteSpace()]]
|
||||||
vim.cmd[[autocmd FileAppendPre * call TrimWhiteSpace()]]
|
vim.cmd[[autocmd FileAppendPre * call TrimWhiteSpace()]]
|
||||||
|
|
|
||||||
|
|
@ -52,6 +52,6 @@ require('packer').startup(function()
|
||||||
use 'rinx/nvim-ripgrep'
|
use 'rinx/nvim-ripgrep'
|
||||||
use 'sbdchd/neoformat' -- general formatter for various languages
|
use 'sbdchd/neoformat' -- general formatter for various languages
|
||||||
use 'rhysd/vim-clang-format' -- formatter for c and c++
|
use 'rhysd/vim-clang-format' -- formatter for c and c++
|
||||||
-- use { 'sindrets/diffview.nvim', requires = 'nvim-lua/plenary.nvim' }
|
|
||||||
use { '0x100101/lab.nvim', run = 'cd js && npm ci', requires = { 'nvim-lua/plenary.nvim' } }
|
use { '0x100101/lab.nvim', run = 'cd js && npm ci', requires = { 'nvim-lua/plenary.nvim' } }
|
||||||
|
use 'sangdol/mintabline.vim'
|
||||||
end)
|
end)
|
||||||
|
|
|
||||||
|
|
@ -397,6 +397,9 @@ vim.cmd[[command! -nargs=* FZFExplore call FzfExplore(shellescape(<q-args>))]]
|
||||||
-- fzf is on bottom of screen
|
-- fzf is on bottom of screen
|
||||||
vim.cmd[[let g:fzf_layout = { 'down': '~30%' }]]
|
vim.cmd[[let g:fzf_layout = { 'down': '~30%' }]]
|
||||||
|
|
||||||
|
-- max tab characters
|
||||||
|
vim.cmd[[let g:mintabline_tab_max_chars = 10 ]]
|
||||||
|
|
||||||
--Removes trailing spaces on save
|
--Removes trailing spaces on save
|
||||||
vim.cmd[[autocmd FileWritePre * call TrimWhiteSpace()]]
|
vim.cmd[[autocmd FileWritePre * call TrimWhiteSpace()]]
|
||||||
vim.cmd[[autocmd FileAppendPre * call TrimWhiteSpace()]]
|
vim.cmd[[autocmd FileAppendPre * call TrimWhiteSpace()]]
|
||||||
|
|
|
||||||
|
|
@ -52,6 +52,6 @@ require('packer').startup(function()
|
||||||
use 'rinx/nvim-ripgrep'
|
use 'rinx/nvim-ripgrep'
|
||||||
use 'sbdchd/neoformat' -- general formatter for various languages
|
use 'sbdchd/neoformat' -- general formatter for various languages
|
||||||
use 'rhysd/vim-clang-format' -- formatter for c and c++
|
use 'rhysd/vim-clang-format' -- formatter for c and c++
|
||||||
-- use { 'sindrets/diffview.nvim', requires = 'nvim-lua/plenary.nvim' }
|
|
||||||
use { '0x100101/lab.nvim', run = 'cd js && npm ci', requires = { 'nvim-lua/plenary.nvim' } }
|
use { '0x100101/lab.nvim', run = 'cd js && npm ci', requires = { 'nvim-lua/plenary.nvim' } }
|
||||||
|
use 'sangdol/mintabline.vim'
|
||||||
end)
|
end)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue