2nthony / dotfiles

My personal dotfiles, neovim(typescript, vue), fish, zellij, etc.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

2nthony's dotfiles

Screen-2023-02-19-92910.PM.mp4
cover1

vitesse.itermvitesse.nvim

lazy with extra features:

  • Supertab(VS Code like)
  • AI-Powered Autocomplete(Copilot)
  • Good Looking Theme(vitesse)
  • Transparent friendly
  • Git Integration(LazyGit)
  • Vue supported(vue.lua)
  • Partially support vscode workspace settings
  • ...

Setup

  1. Install LazyVim
  2. Clone this repo and link nvim to ~/.config
git clone https://github.com/2nthony/dotfiles.git ~/yourpath
ln -s ~/yourpath/.config/nvim ~/.config

Plugins

All plugins plugins/.

Keymaps

General

  • <C-h> better ^
  • <C-l> better $
  • <C-a> select all text
  • <C-\> open a float terminal
  • <s-a-j> copy line(s) down
  • <s-a-k> copy line(s) up

LSP

  • K LSP hover
  • <C-j> LSP diagnostic next, J LSP diagnostic prev
  • <C-k> LSP signature help

Settings and Keymaps

ln -s ~/yourpath/.config/zed/settings.json ~/.config/zed
ln -s ~/yourpath/.config/zed/keymap.json ~/.config/zed

Shell

Troubleshootings

Modifier keys(<c-*>, <a-*>) not working in tmux

iTerm2

Details from: https://github.com/tmux/tmux/wiki/Modifier-Keys#extended-keys

  • <c-*>: Preferences -> Profiles -> Keys -> Report modifiers using CSI u
  • <a-*>: Preferences -> Profiles -> Keys -> Left Option Key: Meta/Esc+

Credit

About

GitHub 2nthony · Twitter _2nthony

About

My personal dotfiles, neovim(typescript, vue), fish, zellij, etc.


Languages

Language:Lua 95.6%Language:Shell 4.3%Language:Scheme 0.1%