-
Notifications
You must be signed in to change notification settings - Fork 254
tips
rene-descartes2021 edited this page May 7, 2022
·
21 revisions
-
Enable italic fonts in iTerm2, tmux and vim
If you run into the error:
tic: Can't open -
Refer to tic doesn't read from STDIN and segfaults when adding terminfo to support italics in tmux
-
guifont
Source Code Pro Light suits MacVim better.
set guifont=Source\ Code\ Pro\ Light:h13
-
How to get gvim to start maximised in Windows?
" Put this line into UserConfig() autocmd GUIEnter * simalt ~x
Many plugins are not loaded to the runtime path until a certain condition is met, directed by the MP
line containing on
or on_ft
. e.g. Consider the AsyncRun plugin within the programming layer, :help asyncrun
will not load until AsyncRun is first called:
MP 'skywind3000/asyncrun.vim', { 'on': ['AsyncRun!', 'AsyncRun'] }
If you want to let fzf search hidden files, please see here.
It's neccessary for vim-devicons.
brew cask install font-dejavusansmono-nerd-font
brew cask install font-fantasque-sans-mono
brew cask install font-fira-code
brew cask install font-firacode-nerd-font
brew cask install font-firacode-nerd-font-mono
brew cask install font-iosevka
brew cask install font-iosevka-nerd-font
brew cask install font-sourcecodepro-nerd-font
-
Download a Nerd Font from nerdfonts.com
-
Unzip and copy to
~/.fonts
-
Run the command
fc-cache -fv
to manually rebuild the font cache
Refer to: