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