Compare commits
3 commits
92a04bec1c
...
7965230bd0
Author | SHA1 | Date | |
---|---|---|---|
7965230bd0 | |||
aa842378db | |||
3e5661c053 |
2 changed files with 9 additions and 6 deletions
|
@ -4,8 +4,8 @@ local function map(mode, lhs, rhs, opts)
|
||||||
vim.api.nvim_set_keymap(mode, lhs, rhs, options)
|
vim.api.nvim_set_keymap(mode, lhs, rhs, options)
|
||||||
end
|
end
|
||||||
|
|
||||||
-- Open/close nerdtree
|
-- Open/close tree browser
|
||||||
map('', '<C-t>', '<cmd>NERDTreeToggle<CR>')
|
map('n', '<C-Tab>', '<cmd>NvimTreeToggle<CR>')
|
||||||
|
|
||||||
-- Telescope
|
-- Telescope
|
||||||
map('n', '<C-f>', '<cmd>Telescope find_files find_command=fd,-Ht,f<CR>')
|
map('n', '<C-f>', '<cmd>Telescope find_files find_command=fd,-Ht,f<CR>')
|
||||||
|
|
|
@ -26,7 +26,7 @@ require('packer').startup(function()
|
||||||
use 'vim-airline/vim-airline'
|
use 'vim-airline/vim-airline'
|
||||||
|
|
||||||
-- Tree explorer
|
-- Tree explorer
|
||||||
use 'scrooloose/nerdtree'
|
use {'kyazdani42/nvim-tree.lua', requires = 'kyazdani42/nvim-web-devicons'}
|
||||||
|
|
||||||
-- Telescope
|
-- Telescope
|
||||||
use {
|
use {
|
||||||
|
@ -37,6 +37,9 @@ require('packer').startup(function()
|
||||||
-- Do stuff as sudo
|
-- Do stuff as sudo
|
||||||
use 'lambdalisue/suda.vim'
|
use 'lambdalisue/suda.vim'
|
||||||
|
|
||||||
|
-- Read editorconfig settings
|
||||||
|
use 'editorconfig/editorconfig-vim'
|
||||||
|
|
||||||
-- Configs for built-in LSP
|
-- Configs for built-in LSP
|
||||||
use 'neovim/nvim-lspconfig'
|
use 'neovim/nvim-lspconfig'
|
||||||
|
|
||||||
|
@ -53,9 +56,9 @@ require('packer').startup(function()
|
||||||
run = ':TSUpdate'
|
run = ':TSUpdate'
|
||||||
}
|
}
|
||||||
|
|
||||||
-- Syntax highlighting for languages
|
-- Syntax highlighting for languages
|
||||||
-- that are not supported by treesitter
|
-- that are not supported by treesitter
|
||||||
use 'sheerun/vim-polyglot'
|
use 'sheerun/vim-polyglot'
|
||||||
|
|
||||||
-- Formatter plugin
|
-- Formatter plugin
|
||||||
use 'sbdchd/neoformat'
|
use 'sbdchd/neoformat'
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue