diff options
Diffstat (limited to 'home/xyz/.config')
| -rw-r--r-- | home/xyz/.config/neomutt/neomuttrc | 10 | ||||
| -rw-r--r-- | home/xyz/.config/nvim/init.vim | 4 |
2 files changed, 10 insertions, 4 deletions
diff --git a/home/xyz/.config/neomutt/neomuttrc b/home/xyz/.config/neomutt/neomuttrc index afd5aa75..941e4c73 100644 --- a/home/xyz/.config/neomutt/neomuttrc +++ b/home/xyz/.config/neomutt/neomuttrc @@ -174,9 +174,15 @@ macro index,pager Mt ";<save-message>=Trash<enter>" "move mail to trash" # here must specify full path of the file to source, else it will souce in the dir where neomutt is execute at # use vim-like uppercase marks # Ca mail server -macro index,pager \'C '<sync-mailbox><enter-command>source "$XDG_CONFIG_HOME/neomutt/mail"<enter><change-folder>!<enter>' +# +# mutt-wizard uses <change-folder>!<enter>, not sure what that '!' means, I +# tested with `c` hotkey which seems is <change-folder> and if I enter '!', it +# seems always go back ot ca mail server inbox. Need to learn more. I want it +# to change to current server inbox so I use <change-folder>=INBOX<enter> +# instead for now. +macro index,pager \'C '<sync-mailbox><enter-command>source "$XDG_CONFIG_HOME/neomutt/mail"<enter><change-folder>=INBOX<enter>' # Ib mail server -macro index,pager \'I '<sync-mailbox><enter-command>source "$XDG_CONFIG_HOME/neomutt/mail2"<enter><change-folder>!<enter>' +macro index,pager \'I '<sync-mailbox><enter-command>source "$XDG_CONFIG_HOME/neomutt/mail2"<enter><change-folder>=INBOX<enter>' # maybe useful for multiple accounts #macro index c "<change-folder>?<change-dir><home>^K=<enter>" diff --git a/home/xyz/.config/nvim/init.vim b/home/xyz/.config/nvim/init.vim index bab86f65..5913400c 100644 --- a/home/xyz/.config/nvim/init.vim +++ b/home/xyz/.config/nvim/init.vim @@ -119,8 +119,8 @@ augroup mycmd autocmd! nvim.swapfile autocmd SwapExists * let v:swapchoice = 'o' " neovim high CPU usage when editing markdown file with many lines, - " e.g., more than 100 lines, can be workarounded with :lua - " vim.treesitter.stop() + " e.g., more than 100 lines, can be workarounded with `:lua + " vim.treesitter.stop()` " https://github.com/neovim/neovim/discussions/39277 autocmd FileType markdown lua vim.treesitter.stop() endif |
