https://github.com/vcfvct/dotfile
My Configs for NeoVim/Fish/tmux/git etc...
https://github.com/vcfvct/dotfile
alacritty fish neovim rime surfingkeys tmux vim wsl2
Last synced: 8 months ago
JSON representation
My Configs for NeoVim/Fish/tmux/git etc...
- Host: GitHub
- URL: https://github.com/vcfvct/dotfile
- Owner: vcfvct
- Created: 2019-10-29T13:48:38.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2025-09-15T13:32:37.000Z (9 months ago)
- Last Synced: 2025-09-15T15:23:59.303Z (9 months ago)
- Topics: alacritty, fish, neovim, rime, surfingkeys, tmux, vim, wsl2
- Language: Shell
- Homepage:
- Size: 8.3 MB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## My configuration
- VIM
- for fzf.vim, `ctrl+g` is mapped to `:GFiles` to search with .gitignore applied.
- The [executable path](https://github.com/junegunn/fzf#as-vim-plugin) should be mapped correctly in Plug or with `set rtp+=xxxx` to append to the `runtimepath`.
- for `vim surround`, select the text in visual mode, and then press `S`(uppercase), then input the quote or parenthesis or `` etc.
- in command line mode, `ctrl-b` and `ctro-e` to navigate to beginning/end.
- GIT
- for `git config --global user.email xxx`, can _NOT_ surround email address with `""` like how user name is set.
- Fish shell
- more on `.config/fish/config.fish`
~~NERDTree is awesome~~
Actually find `coc-explorer` is much faster than NERDTree.
`Fish VI mode`が大好きです
### macOS specific
#### macos finder open in new tab
System Preferences > Dock > Prefer tabs when opening documents and select Always.
#### font subpixle antialiasing
MacOS Mojave disables subpixel antialiasing, also known as font smoothing, by default.
> defaults write -g CGFontRenderingFontSmoothingDisabled -bool NO
### git detla
In `.gitconfig`, [delta](https://github.com/dandavison/delta) is used for pager and diff. For wsl/chromeos-linux, go to the release page download corresponding `.deb` and install with `sudo dpkg -i xxx.deb`.
~~### coc nvim~~
- For coc plugin, use the official recommended way `:CocInstall` instead of vim plug to manage so that it could get auto update. Example:
> :CocInstall coc-json coc-tsserver coc-eslint coc-pairs coc-git
- use `ctrl-o` to go back after `gd or gi`.
- use `:CocConfig` or edit `~/.config/nvim/coc-settings.json` directly to add [ts server options](https://github.com/neoclide/coc-tsserver#configuration-options) just like inside vscode. for example:
- `"typescript.preferences.importModuleSpecifier": "relative",`
- `"typescript.format.insertSpaceAfterOpeningAndBeforeClosingNonemptyBraces":true`
- for [project specific settings](https://github.com/neoclide/coc.nvim/wiki/Using-the-configuration-file#configuration-file-resolve), use `./.vim/coc-settings.json` file. one useful setting here we could do is for setting `python.pythonPath` to local `venv`'s python so that the LSP could kick-in.
- on MacOS, `Terminal->Preferences->Keyboard` set `Use Option as Meta Key`. then map to `:Format`.
- For iTerm2, need to make it `ESC` in `profiles->keys`, and then add specific mapping to the list