feat(neovim): use auto-session and project-nvim instead of obsession
This commit is contained in:
parent
3938d6db5d
commit
29636037fb
4 changed files with 6 additions and 2 deletions
|
@ -25,8 +25,8 @@
|
|||
ansible-vim
|
||||
|
||||
# session handling
|
||||
vim-obsession
|
||||
vim-prosession
|
||||
project-nvim
|
||||
auto-session
|
||||
|
||||
nvim-treesitter
|
||||
markdown-preview-nvim # use({ "iamcco/markdown-preview.nvim", run = ":call mkdp#util#install()" })
|
||||
|
@ -96,6 +96,7 @@
|
|||
${builtins.readFile ./nvim-cmp.lua }
|
||||
${builtins.readFile ./telescope.lua }
|
||||
${builtins.readFile ./themes.lua }
|
||||
${builtins.readFile ./project-nvim.lua }
|
||||
EOF
|
||||
'';
|
||||
};
|
||||
|
|
|
@ -23,6 +23,7 @@ nnoremap("<leader>G", ":GV --all<CR>")
|
|||
nnoremap("<leader>ff", "<Cmd>Telescope find_files theme=dropdown<CR>")
|
||||
nnoremap("<leader>fb", "<Cmd>Telescope buffers theme=dropdown<CR>")
|
||||
nnoremap("<leader>fg", "<Cmd>Telescope git_files theme=dropdown<CR>")
|
||||
nnoremap("<leader>fp", "<Cmd>Telescope projects theme=dropdown<CR>")
|
||||
nnoremap("<C-f>", "<Cmd>Telescope grep_string<CR>")
|
||||
nnoremap("<C-g>", "<Cmd>Telescope live_grep<CR>")
|
||||
|
||||
|
|
1
home-manager/neovim/project-nvim.lua
Normal file
1
home-manager/neovim/project-nvim.lua
Normal file
|
@ -0,0 +1 @@
|
|||
require('project_nvim').setup({})
|
|
@ -31,3 +31,4 @@ telescope.setup({
|
|||
|
||||
telescope.load_extension("fzf")
|
||||
telescope.load_extension("ui-select")
|
||||
telescope.load_extension("projects")
|
||||
|
|
Loading…
Reference in a new issue