diff --git a/home/user/.config/nvim/lua/base/options.lua b/home/user/.config/nvim/lua/base/options.lua index 5bf504d..692e073 100644 --- a/home/user/.config/nvim/lua/base/options.lua +++ b/home/user/.config/nvim/lua/base/options.lua @@ -12,9 +12,9 @@ opt.relativenumber = true opt.clipboard:append { 'unnamed' } opt.clipboard:append { 'unnamedplus' } -opt.shortmess:append { s = true, I = true } -- disable startup message +opt.shortmess:append{a = true, s = true, I = true, c = true, S = true } -- disable startup message -opt.cmdheight = 0 +opt.cmdheight = 1 vim.wo.signcolumn = "yes:2" opt.shell = 'zsh' diff --git a/home/user/.config/nvim/lua/base/plugins/neotree.lua b/home/user/.config/nvim/lua/base/plugins/neotree.lua deleted file mode 100644 index 057c92d..0000000 --- a/home/user/.config/nvim/lua/base/plugins/neotree.lua +++ /dev/null @@ -1,21 +0,0 @@ -return { - "nvim-neo-tree/neo-tree.nvim", - dependencies = { - "nvim-lua/plenary.nvim", - "MunifTanjim/nui.nvim", - }, - config = function() - require("neo-tree").setup({ - close_if_last_window = true, - filesystem = { - hide_gitignored = true, - hijack_netrw_behavior = "open_current", - }, - window = { - mappings = { - ["l"] = "open", - } - } - }) - end -} diff --git a/home/user/.config/nvim/lua/base/plugins/noice.lua b/home/user/.config/nvim/lua/base/plugins/noice.lua index f1a68c6..193ecc7 100644 --- a/home/user/.config/nvim/lua/base/plugins/noice.lua +++ b/home/user/.config/nvim/lua/base/plugins/noice.lua @@ -1,23 +1,29 @@ return { - "folke/noice.nvim", - config = function() - require("noice").setup({ - cmdline = { - enabled = true, -- enables the Noice cmdline UI - view = "cmdline_popup", - format = { - cmdline = { pattern = "^:", icon = "", lang = "vim" }, - search_down = { kind = "search", pattern = "^/", icon = " ", lang = "regex" }, - search_up = { kind = "search", pattern = "^%?", icon = " ", lang = "regex" }, - filter = { pattern = "^:%s*!", icon = "$", lang = "bash" }, - lua = { pattern = { "^:%s*lua%s+", "^:%s*lua%s*=%s*", "^:%s*=%s*" }, icon = "", lang = "lua" }, - help = { pattern = "^:%s*he?l?p?%s+", icon = "" }, - input = {}, - }, - }, - messages = { - enabled = false, - }, - }) - end, + "folke/noice.nvim", + dependencies = { + "MunifTanjim/nui.nvim" + }, + config = function() + require("noice").setup({ + cmdline = { + enabled = true, -- enables the Noice cmdline UI + view = "cmdline_popup", + format = { + cmdline = { pattern = "^:", icon = "", lang = "vim" }, + search_down = { kind = "search", pattern = "^/", icon = " ", lang = "regex" }, + search_up = { kind = "search", pattern = "^%?", icon = " ", lang = "regex" }, + filter = { pattern = "^:%s*!", icon = "$", lang = "bash" }, + lua = { pattern = { "^:%s*lua%s+", "^:%s*lua%s*=%s*", "^:%s*=%s*" }, icon = "", lang = "lua" }, + help = { pattern = "^:%s*he?l?p?%s+", icon = "" }, + input = {}, + }, + }, + messages = { + enabled = false, + }, + notify = { + enabled = false, + } + }) + end, } diff --git a/home/user/.config/zsh/options b/home/user/.config/zsh/options index bbe7f51..05b343f 100644 --- a/home/user/.config/zsh/options +++ b/home/user/.config/zsh/options @@ -71,8 +71,8 @@ bindkey -M viins '\e.' insert-last-word bindkey -M vicmd '^K' up-line-or-history bindkey -M vicmd '^J' down-line-or-history bindkey '^[[Z' reverse-menu-complete -bindkey "^[[A~" history-beginning-search-backward -bindkey "^[[B~" history-beginning-search-forward +# bindkey "^[[A~" history-beginning-search-backward +# bindkey "^[[B~" history-beginning-search-forward insert-sudo() {