Skip to content

avkosme/dotfiles

 
 

Repository files navigation

Requirements

  • Linux or Mac
  • Nvim (version >= 0.3.x)
  • make (for automatic installation)
  • git (for automatic installation)
  • Node.js

Global

Setup

$ git clone [email protected]:mokevnin/dotfiles.git ~/dotfiles 
$ cd dotfiles
$ make nvim-install
$ make dotfiles-install # optional
# install additional packages for some languages (see Makefile)
$ make deps-all #optional

VIM

Main

  • Switch ctrl and caps lock
  • Use ctrl + [ instead of esc

Moving between visible buffers

  • ctrl h - move left or open new left split
  • ctrl l - move right or open new right split
  • ctrl k - move up or open new top split
  • ctrl j - move down or open new bottom split
  • <leader> b - show buffer list

File Tree

  • <leader><leader> - toggle filetree

Searching

  • <leader> o - fuzzy search (files under git)
  • <leader> ff - fuzzy search (all files)
  • <leader> fa - fuzzy search (content in files)
  • <leader> fc - fuzzy search (git commits)

Code editing and navigation

  • gcc - toggle commenting
  • gj - navigate through blocks of code - (), {}, [], etс
  • gf - open a file corresponding to a word under the cursor
  • gd - go to definition
  • and - go through linter errors
  • <leader>y & <leader>p Copy text to system clipboard

Releases

No releases published

Packages

No packages published

Languages

  • Vim Script 76.5%
  • Dockerfile 15.8%
  • Makefile 5.7%
  • Elixir 2.0%