Coder Social home page Coder Social logo

dotfiles's Introduction

Requirements

  • Linux or Mac
  • git (for automatic installation)
  • make (for automatic installation)
  • Nvim (version >= 0.4.4)

Recommendations

Setup

# or https://github.com/asdf-vm/asdf
curl -sL https://deb.nodesource.com/setup_17.x | bash -

git clone [email protected]:mokevnin/dotfiles.git ~/dotfiles 
cd dotfiles

# ubuntu
make ubuntu-prepare

# macos
make macos-prepare

# configs
make nvim-install

# install all additional packages for languages (See Makefile for install packages for some language)
make deps

# update
make macos-update
make ubuntu-update

VIM

Run :PackerSync after each pulling (git pull)

Main

  • Switch <ctrl> and <caps lock>
  • Use <ctrl> + [ instead of <Esc>
  • <leader> – Space

Navigation

Moving between visible buffers

  • <C-h> – move left or open new left split
  • <C-l> – move right or open new right split
  • <C-k> – move up or open new top split
  • <C-j> – move down or open new bottom split

Lists

  • <ctrl> n – next item
  • <ctrl> p – previous item

File Tree

  • <leader><leader> – toggle filetree
  • <C-n> – locate opened file in the filetree
  • o – open directory or file

Searching and Navigation

  • <leader> sf – find files
  • <leader> sg – git grep
  • <leader> sc – find commits
  • <leader> so – symbols
  • <leader> sr – references
  • <leader> b – show buffer list
  • <leader>S – search & replace

Code editing and code navigation

  • gcc – toggle commenting
  • gf – open a file corresponding to a word under the cursor
  • gd – go to definition
  • g; – go to the last edited line in the current opened buffer
  • gv – reselect last visual selection
  • ]g and [g – go through diagnostics
  • ]<leader> and [<leader> – add empty line above and under cursor
  • <leader>ca – show code actions

dotfiles's People

Contributors

aelaa avatar aenglisc avatar alex-popov-tech avatar apricotlace avatar artemrakov avatar ayshvab avatar cayce avatar fey avatar inem avatar khorkov avatar legomegger avatar mokevnin avatar nikitanaumenko avatar olegzotov avatar plugin73 avatar sadovnik avatar sooth-sayer avatar v-kolesnikov avatar webmstk avatar yur-ok avatar zhabinka avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.