Skip to content

moviendome/neovim-dockerized

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Neovim Dockerized

Neovim dockerized with my personal configuration to work with Ruby & JS.

Requirements

Usage

# Install
git clone https://github.com/jferrer/neovim-dockerized.git
cd neovim-dockerized
docker build -t nvim .

# Run
docker run -it --rm -v $(pwd):/usr/src/nvim nvim [filename]

Plugins

Read the docs of the plugins. Most of them have the default mappings so aren't listed later.

  • nerdtree a tree explorer plugin for vim
  • vim-devicons adds file type icons
  • vim-gitgutter shows a git diff in the gutter (sign column) and stages/undoes hunks and partial hunks
  • fugitive.vim a Git wrapper so awesome, it should be illegal
  • surround.vim quoting/parenthesizing made simple
  • vim-airline lean & mean status/tabline for vim that's light as air
  • vim-ruby Vim/Ruby Configuration Files
  • ale check syntax in Vim asynchronously and fix files, with Language Server Protocol (LSP) support
  • rails.vim Ruby on Rails power tools
  • vim-mkdir automatically create any non-existent directories before writing the buffer
  • vim-slim slim syntax highlighting for vim
  • vim-repeat enable repeating supported plugin maps with "."
  • rhubarb.vim GitHub extension for fugitive.vim
  • eunuch.vim helpers for unix: delete, rename...
  • tComment an extensible & universal comment plugin that also handles embedded filetypes
  • vim-grepper helps you win at grep
  • ctrlp.vim fuzzy file, buffer, mru, tag, etc finder
  • typescript-vim Typescript syntax files for Vim
  • vim-jsx-typescript React JSX syntax highlighting for vim and Typescript
  • coc.nvim Intellisense engine for Vim8 & Neovim, full language server protocol support as VSCode
  • UltiSnips the ultimate snippet solution for Vim
  • vim-snippets vim-snipmate default snippets
  • neosnippet-snippets the standard snippets repository for neosnippet
  • tagbar creates a sidebar that displays the ctags-generated tags of the current file
  • vim-zoom a simple plugin to toggle zoom of current window within the current tab

Colorscheme

NeoSolarized Another solarized color theme for truecolor neovim / vim

Key Mappings

The leader key is <SPACE>.

General:

<leader>s         quick save
<leader><leader>  back to last opened file

<esc><esc>        remove search

K                 show documentation in preview window

Navigating file:

hjkl              left, down, up, right
0                 start of line
$                 end of line
w                 next word
gg                beginning of file
<shift>g          end of file

<leader>t         open sidebar with ctags-generated tags

Navigating files:

<leader>p         open fuzzy finder
<leader>b         open list of buffers

gf                open file under cursor
gd                go definition
<ctrl>]           go definition (ctags)

,g                grep

Tabs:

<leader><tab>     open a new tab
<leader>q         close current tab

<tab>             next tab
<shift><tab>      previous tab

<up>
<down>
<left>
<right>           resize tabs

Panes:

<leader>hjkl      move between panes
ss                split horizontal
sv                split vertical

<leader>r         adjust height to lines' file

<leader>z         zoom current pane

About

Neovim dockerized with my personal configuration to work with Ruby & JS

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published