
cd ~/
git clone https://github.com/matthewbub/dotfiles.git .config
- ./MacOS.sh - installs the core shit that i need on a Macbook
- ./MacOS_neovim.sh - installs packages used as dependecies in my neovim configuration. You can lauch neovim BEFORE running this script, and then do a
:checkhealth
to get a sense of what errors this script is aiming to solve.
Modify your ~/.gitconfig
file to include the this git config associated with this repo
[user]
name = Your Name
email = your.email@example.com
[include]
path = ~/.config/git/config
hey if it's your first time working with vim, or you want a refresher on the basics, check out this post https://www.matthewbub.com/blog/vim-motions-a-generalists-guide
https://github.com/nvim-lua/kickstart.nvim helped me get here today but whats funny is i built this config from the ground up, tested several different plugins and ultimtely and organically landed on the same shit in kickstart
- lazy.vim as the package manager
- blink.cmp for lsp completion menus
- telescope.nvim for searching
- gitsigns.nvim for Git
- nvim-treesitter convert code to ASTs
- mason.nvim LSP manager that works on top of nvim-treesitter
- which-key for keeping track of all these hotkeys
- neo-tree file explorer
- harpoon2 for "pinning" files
navigate completion menus (blink.cmp, normal mode). I have a hard time getting this to stick in my head.
C-n
: Selects the next item in the completion menu.C-p
: Selects the previous item in the completion menu.C-y
: Accept the currently selected menu item
general searching of files and contents
While in Normal Mode, type :Telescope
to choose from the available options
:Telescope live_grep
: search text in files:Telescope find_files
: to search for files
control + b ?
: List all Tmux keybindings