diff --git a/cli/.config/nvim/lua/plugins.lua b/cli/.config/nvim/lua/plugins.lua index e3d1ff0..8732537 100644 --- a/cli/.config/nvim/lua/plugins.lua +++ b/cli/.config/nvim/lua/plugins.lua @@ -8,8 +8,8 @@ vim.opt.rtp:prepend(lazypath) --[[ plugins list ]] require('lazy').setup { {'kdheepak/lazygit.nvim', dependencies = {'nvim-lua/plenary.nvim'}}, - {'lifepillar/vim-gruvbox8', branch = 'neovim'}, - {'lifepillar/vim-solarized8', branch = 'neovim'}, + {'ellisonleao/gruvbox.nvim', priority = 1000, config = true}, + {'nvim-orgmode/orgmode', event = 'VeryLazy', ft = {'org'}}, {'nvim-telescope/telescope.nvim', dependencies = {'nvim-lua/plenary.nvim'}}, {'nvim-treesitter/nvim-treesitter', cmd = 'TSUpdate'}, {'w0rp/ale', cmd = 'ALEEnable', ft = {'bash', 'go', 'lua', 'python', 'sh', 'zsh'}}, @@ -22,6 +22,13 @@ require('lazy').setup { --[[ plugin configs and maps ]] require('gitsigns').setup() +require('gruvbox').setup { + terminal_colors = false +} +require('orgmode').setup { + org_agenda_files = '~/orgfiles/**/*', + org_default_notes_file = '~/orgfiles/refile.org' +} require('nvim-treesitter.configs').setup { highlight = { enable = true @@ -30,7 +37,6 @@ require('nvim-treesitter.configs').setup { require('lualine').setup { options = { icons_enabled = false, - theme = 'gruvbox', component_separators = { left = "\u{2022}", right = "\u{2022}"}, section_separators = { left = nil, right = nil}, } @@ -45,10 +51,7 @@ map('n', 'T', 'colorscheme solarized8|set bg=light') map('n', 't', 'colorscheme gruvbox8|set bg=dark') --[[ theme ]] -vim.g.solarized_extra_hi_groups = 1 -vim.g.gruvbox_plugin_hi_groups = 1 -vim.g.gruvbox_filetype_hi_groups = 1 vim.o.termguicolors = true vim.o.bg = 'dark' -vim.cmd [[colorscheme gruvbox8]] +vim.cmd [[colorscheme gruvbox]] diff --git a/cli/.config/zsh/prompt.zsh b/cli/.config/zsh/prompt.zsh index 6448f3d..89ccb09 100644 --- a/cli/.config/zsh/prompt.zsh +++ b/cli/.config/zsh/prompt.zsh @@ -14,7 +14,7 @@ typeset -A prompt_symbols=( git_staged $'\u2713' git_untracked '!' git_unmerged '*' - bang $'\u266a' + bang $'\u276f' ) typeset -A prompt_colors=( @@ -22,12 +22,13 @@ typeset -A prompt_colors=( root '1' ssh '15' cwd '4' - git_branch '241' + git_branch '' git_unstaged '3' git_staged '6' git_untracked '1' git_unmerged '5' - bang '10' + brackets '8' + bang '8' ) precmd.is_git_repo() { @@ -97,7 +98,7 @@ precmd.prompt.git() { precmd.prompt() { typeset -g prompt_string= prev_color= - precmd.prompt.add '[' + precmd.prompt.add '[' $prompt_colors[brackets] (( UID )) \ || precmd.prompt.add '#' $prompt_colors[root] [[ -n $SSH_CONNECTION ]]\ @@ -110,7 +111,7 @@ precmd.prompt() { [[ $1 == git ]]\ && precmd.prompt.git - precmd.prompt.add $']\n' + precmd.prompt.add $']\n' $prompt_colors[brackets] prompt_string+="%F{$prompt_colors[bang]}$prompt_symbols[bang]%f " }