Dotfiles
My dotfiles / setup scripts for vim, neovim, vscode, zsh, tmux, intellij etc.
Install / Use
/learn @kartik1998/DotfilesQuality Score
Category
Development & EngineeringSupported Platforms
README
Setup Instructions 
- To setup vim:
bash <(curl -s https://raw.githubusercontent.com/kartik1998/dotfiles/master/scripts/vim-setup.sh)
- Install ripgrep to support live grep:
brew install ripgrep #mac
sudo apt-get install ripgrep #ubuntu
- To setup neovim:
git clone git@github.com:kartik1998/dotfiles.git`
cd dotfiles
# install neovim >= 0.5.1 first
bash neovim_setup.sh
- Tmux conf:
curl -o ~/.tmux.conf https://raw.githubusercontent.com/kartik1998/dotfiles/master/tmux/tmux.conf
VIM config
The vim config is different for vim and neovim. (Mostly similar) <br/> Neovim is targeted for main support.
Key bindings
Although reading through init.vim might be enough, some are listed for completeness. The mappings are fully customizable. Many familiar mapping patterns are setup as defaults.
Leader is <spacebar>
| Mappings | Action |
| ------------------- | -------------------------------------------------- |
| <Leader-e> | NerdTreeToggle |
| <C-q> | To quit buffer / quit vim if number of buffers = 1 |
| <C-ww> | Move between windows |
| <C-w[Arrow/hjkl]> | Move between windows directionally |
| <C-t> | toggle terminal (doesn't work for vim) |
| <Leader-v> | open in vertical split |
| <Leader-h> | open in horizontal split |
| <Leader-b> | List all buffers via telescope |
| <Leader-l> | Prettify file |
| <Leader-[> | previous buffer :bprev |
| <Leader-]> | next buffer :bnext |
| <C-p> | fuzzy search filenames |
| <C-f> | fuzzy search words in current directory |
| <C-g>b | Telescope git_branches |
| <C-g>log | Telescope git_commits |
| <C-g>st | Telescope git_status |
| <leader-st> | Telescope git_stash |
| <C-n> | Select same word as multiple cursors |
| <C-m> | maximize window |
| <leader-m> | Vimmagit |
| gd | go to definition |
| gc | comment visual selection |
| gcc | comment a line |
| <C-u> | page up |
| <C-d> | pade down |
| <leader> f | vim easy motion (find beginning of word) |
| , | vim easy motion (find char) |
Debugger (deprecated)
vimspector has been removed to improve startup performance (~2.5s savings). If you need it, check the git history for the last commit that included vimspector config and keybindings.
Clipboard Manager
- Maccy
- In preferences set hotkey to
^m
Screen Capture Text from Screen to Clipboard (OCR)
- Mac shortcut link - Screen capture text to clipboard [Breaks for MacOS Sonoma, try the link below the note for MacOS Sonoma]
- Reference link to see how to setup the shortcut - youtube-macmost
- Note: Shortcuts app is very buggy and sometimes breaks with releases,
Take screenshotis currently breaking for macOS sonoma so i've switched to using grab text. Forked repo macos-shortcuts- Mac shortcut link - Grab Text via Clipboard Screenshot
LICENSE
<b>WTFPL</b>
Related Skills
node-connect
351.2kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
110.6kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
351.2kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
351.2kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
