mirror of
https://github.com/ryan4yin/nix-config.git
synced 2026-07-05 04:21:44 +02:00
feat: disable toogleterm.nvim, zellij is far more better than it
This commit is contained in:
@@ -8,10 +8,10 @@ return {
|
|||||||
spell = false, -- Spell checking
|
spell = false, -- Spell checking
|
||||||
swapfile = false, -- Swapfile
|
swapfile = false, -- Swapfile
|
||||||
smartindent = false, -- fix https://github.com/ryan4yin/nix-config/issues/4
|
smartindent = false, -- fix https://github.com/ryan4yin/nix-config/issues/4
|
||||||
title = true; -- Set the title of window to `filename [+=-] (path) - NVIM`
|
title = true, -- Set the title of window to `filename [+=-] (path) - NVIM`
|
||||||
-- The percentage of 'columns' to use for the title
|
-- The percentage of 'columns' to use for the title
|
||||||
-- When the title is longer, only the end of the path name is shown.
|
-- When the title is longer, only the end of the path name is shown.
|
||||||
titlelen = 20;
|
titlelen = 20,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
||||||
@@ -60,6 +60,8 @@ return {
|
|||||||
-- https://github.com/echasnovski/mini.ai
|
-- https://github.com/echasnovski/mini.ai
|
||||||
{ import = "astrocommunity.motion.mini-ai" },
|
{ import = "astrocommunity.motion.mini-ai" },
|
||||||
{ import = "astrocommunity.motion.flash-nvim" },
|
{ import = "astrocommunity.motion.flash-nvim" },
|
||||||
|
-- diable toggleterm.nvim, zellij's terminal is far better than neovim's one
|
||||||
|
{ "akinsho/toggleterm.nvim", enabled = false },
|
||||||
{ "folke/flash.nvim", vscode = false },
|
{ "folke/flash.nvim", vscode = false },
|
||||||
-- Lua implementation of CamelCaseMotion, with extra consideration of punctuation.
|
-- Lua implementation of CamelCaseMotion, with extra consideration of punctuation.
|
||||||
{ import = "astrocommunity.motion.nvim-spider" },
|
{ import = "astrocommunity.motion.nvim-spider" },
|
||||||
|
|||||||
@@ -22,8 +22,6 @@ return {
|
|||||||
-- NOTE: https://neovim.io/doc/user/builtin.html#jobstart()
|
-- NOTE: https://neovim.io/doc/user/builtin.html#jobstart()
|
||||||
-- 1. If {cmd} is a List it runs directly (no 'shell')
|
-- 1. If {cmd} is a List it runs directly (no 'shell')
|
||||||
-- 2. If {cmd} is a String it runs in the 'shell'
|
-- 2. If {cmd} is a String it runs in the 'shell'
|
||||||
["<leader>tp"] = { function() utils.toggle_term_cmd({ cmd = "ipython" }) end, desc = "ToggleTerm python" },
|
|
||||||
|
|
||||||
-- search and replace globally
|
-- search and replace globally
|
||||||
['<leader>ss'] = {'<cmd>lua require("spectre").toggle()<CR>', desc = "Toggle Spectre" },
|
['<leader>ss'] = {'<cmd>lua require("spectre").toggle()<CR>', desc = "Toggle Spectre" },
|
||||||
['<leader>sw'] = {'<cmd>lua require("spectre").open_visual({select_word=true})<CR>', desc = "Search current word" },
|
['<leader>sw'] = {'<cmd>lua require("spectre").open_visual({select_word=true})<CR>', desc = "Search current word" },
|
||||||
|
|||||||
Reference in New Issue
Block a user