Switch branches/tags
Nothing to show
Clone or download
Latest commit 75120aa Dec 12, 2018
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
files add auto pairs Dec 12, 2018
templates add new language servers Sep 5, 2018
.gitignore update gitignore Feb 22, 2017
.travis.yml fix travis config Oct 18, 2014
Makefile update makefile Dec 6, 2018
README.md upd Oct 26, 2018
Vagrantfile update dotfiles structure Aug 9, 2015
addons.yml add sql lsp Dec 1, 2018
all.yml switch to vim Apr 28, 2017
dotfiles.yml unify python3 interpreter May 24, 2018
install.yml Update install.yml Sep 28, 2018
local unify python3 interpreter May 24, 2018
nvim.yml switch to coc.nvim Nov 29, 2018
spacemacs.yml unify python3 interpreter May 24, 2018
vim.yml add nvim Nov 12, 2017

README.md

Requirements

  • Linux Or Mac
  • git
  • python3
  • install ansible via pip3 install ansible (correct way to make ansible to use python3 - see this link for explanations)
  • nvim (min. 0.3.1)

Setup

  1. install https://github.com/ggreer/the_silver_searcher
  2. Install deps and configs
$ git clone <this repo>
$ make install_languages # ruby and node for plugins
$ make nvim_configure
$ make install_addons
  1. Install plugins
$ nvim
:PlugInstall
  1. Restart vim

VIM

Main

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

Moving between visible buffers

  • ctrl h - left
  • ctrl l - right
  • ctrl k - up
  • ctrl j - down
  • <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 (content in files)

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
  • ]r and [r - go through linter errors
  • <leader>y & <leader>p Copy text to system clipboard