Skip to content

unRARed/console-ide

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

54 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Console IDE

Code exclusively from the console!

  • Changes binding of tmux activation key to Ctrl->a.
  • Changes default color scheme to synthetic via ~/.vim/colors/synthetic.vim
  • Adds preconfigured .vimrc and .tmux.conf files to current user’s home directory.
  • Clones vim plugin repos into ~/.vim/bundles/.

Installation

Assuming dependencies have been satisfied, simply run ./install.sh from the Repo root.

VIM Tips & Tricks

This is in no way meant to be a complete reference, but rather a collection of various things I'm picking up (and probably absolutely forgetting) over time.

Autocomplete

  • Press ctrl+p or ctrl+n while in insert mode.
  • Continue pressing either to cycle up/down through suggestions.

Find, replace (or skip)

  • Press / and your exact text to search for
  • Press cgn to remove the first occurenence and be put in insert mode
  • Press the replacement text and return to normal mode (caps / esc)
  • Find next or prev with n or N and repeat replacement with .

Jump to line

Press [line number] then G

Jump to top/bottom of file

  • Press gg to jump to beginning of file
  • Press G to jump to end of file

Jump to general areas of current view

  • Press H to jump to top
  • Press M to jump to middle
  • Press L to jump to bottom

Jump to line

Press [line number] then G

Add block comment

Define a selection with shift+v then press gc.

Scroll while in :term mode

Press ctrl+w followed by shift+n. Leave this state with i.

NetRW (File Explorer)

  • Use :e . to open the file explorer.
  • Press d to create a new directory.
  • Press % to create a new file.

See this blog post

About

Configures vim and tmux with some decent defaults.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors