diff options
| author | srdusr <trevorgray@srdusr.com> | 2023-01-22 23:59:49 +0200 |
|---|---|---|
| committer | srdusr <trevorgray@srdusr.com> | 2023-01-22 23:59:49 +0200 |
| commit | d2079c203d70cc06e8582b18be1ce440a4c258b8 (patch) | |
| tree | 1d6f5cdad530efa33f59b540bc024bebacfed434 /.config/nvim | |
| parent | 46936e70d43e8dc4cec47c91934a11aaed23bc50 (diff) | |
| parent | dac9bf1c1349e36b1505ec76cc9a27483260c6be (diff) | |
| download | dotfiles-d2079c203d70cc06e8582b18be1ce440a4c258b8.tar.gz dotfiles-d2079c203d70cc06e8582b18be1ce440a4c258b8.zip | |
Merge commit '1dd11b69817773b95aae20c58a1ded265593e058'
Diffstat (limited to '.config/nvim')
| -rw-r--r-- | .config/nvim/lua/plugins/colorscheme.lua | 2 | ||||
| -rw-r--r-- | .config/nvim/lua/plugins/nvim-tree.lua | 3 | ||||
| -rw-r--r-- | .config/nvim/lua/plugins/telescope.lua | 5 | ||||
| -rw-r--r-- | .config/nvim/lua/plugins/web-devicons.lua | 19 | ||||
| -rw-r--r-- | .config/nvim/lua/user/opts.lua | 2 |
5 files changed, 21 insertions, 10 deletions
diff --git a/.config/nvim/lua/plugins/colorscheme.lua b/.config/nvim/lua/plugins/colorscheme.lua index 6b4e6f9..1f76a40 100644 --- a/.config/nvim/lua/plugins/colorscheme.lua +++ b/.config/nvim/lua/plugins/colorscheme.lua @@ -1,6 +1,6 @@ -- Colorscheme -- ayu gruvbox molokai onedark srcery everblush vscode edge nightfly doom-one -local colorscheme = "doom-one" +local colorscheme = "onedark" local status_ok, _ = pcall(vim.cmd, "colorscheme " .. colorscheme) if not status_ok then vim.notify("colorscheme " .. colorscheme .. " not found!") diff --git a/.config/nvim/lua/plugins/nvim-tree.lua b/.config/nvim/lua/plugins/nvim-tree.lua index df4e282..c950357 100644 --- a/.config/nvim/lua/plugins/nvim-tree.lua +++ b/.config/nvim/lua/plugins/nvim-tree.lua @@ -10,6 +10,9 @@ end local tree_cb = nvim_tree_config.nvim_tree_callback +-- To see mappings `g?` on nvim-tree +-- To see default mappings `:nvim-tree-default-mappings` + nvim_tree.setup({ update_focused_file = { enable = true, diff --git a/.config/nvim/lua/plugins/telescope.lua b/.config/nvim/lua/plugins/telescope.lua index d4a54fa..c4aca35 100644 --- a/.config/nvim/lua/plugins/telescope.lua +++ b/.config/nvim/lua/plugins/telescope.lua @@ -294,6 +294,7 @@ function M.find_configs() "~/.config/tmux", "~/.config/X11", "~/.config/alacritty", + "~/.config/wezterm", "~/.config/bspwm", "~/.config/sxhkd", "~/.config/picom", @@ -315,7 +316,7 @@ end function M.grep_notes() local opts = {} - opts.hidden = true + opts.hidden = false opts.search_dirs = { "~/documents/notes/", } @@ -327,9 +328,11 @@ end function M.find_notes() require("telescope.builtin").find_files { + hidden = false, prompt_title = " Find Notes", path_display = { "smart" }, search_dirs = { + "~/documents/notes/private/", "~/documents/notes", }, --cwd = "~documents/notes", diff --git a/.config/nvim/lua/plugins/web-devicons.lua b/.config/nvim/lua/plugins/web-devicons.lua index b8396bc..2f68275 100644 --- a/.config/nvim/lua/plugins/web-devicons.lua +++ b/.config/nvim/lua/plugins/web-devicons.lua @@ -1,12 +1,17 @@ -local status, icons = pcall(require, "nvim-web-devicons") -if (not status) then return end - -icons.setup { - -- your personnal icons can go here (to override) - -- DevIcon will be appended to `name` +--local status, icons = pcall(require, "nvim-web-devicons") +--if (not status) then return end +--icons.setup { +require'nvim-web-devicons'.setup { override = { + zsh = { + icon = "", + color = "#428850", + cterm_color = "65", + name = "Zsh" + }; + color_icons = true; }, -- globally enable default icons (default to false) -- will get overriden by `get_icons` option - default = true + --default = true } diff --git a/.config/nvim/lua/user/opts.lua b/.config/nvim/lua/user/opts.lua index 57b2949..ce12c8c 100644 --- a/.config/nvim/lua/user/opts.lua +++ b/.config/nvim/lua/user/opts.lua @@ -118,7 +118,7 @@ vim.opt.backup = false -- vim.opt.backupskip = { "/tmp/*", "/private/tmp/*" } -- -- Format -vim.opt.textwidth = 80 -- +--vim.opt.textwidth = 80 -- vim.cmd([[let &t_Cs = "\e[4:3m"]]) -- Undercurl vim.cmd([[let &t_Ce = "\e[4:0m"]]) -- vim.opt.path:append({ "**" }) -- Finding files - Search down into subfolder |
