Skip to content

rkruk/neovim-dotfiles

Repository files navigation

My Personal Neovim Dotfiles Configuration



This Vim Dotfile configuration is just a bit simplified and customised to my personal needs copy of amazing [Jeremy Mack](https://github.com/mutewinter) [dot_vim](https://github.com/mutewinter/dot_vim) repo. The only small differences here are: - Rewritten small part of configuration for Linux use only (Gentoo/Funtoo). Thus all files, plugins, configs for Mac Os X platform have been removed. - Configuration is stripped from all unnecessary things (I'm not so much into Ruby programming environment - so here I'm trying to keep it really minimal and just to run some basics).

Installation

Clone this repository:

git clone http://github.com/rkruk/neovim-dotfiles.git ~/.vim. cd ~/.vim.

Install it:

Run: scripts/setup.

And enjoy it! :)

Neovim Requirements

Prior to install you must run a few things. Make sure you have Neovim installed:

emerge -av app-editors/neovim

A "live" ebuild can be found in yngwin's developer overlay. For instructions on how to install the Python modules, see :help provider-python.

Plugin Requirements

Here's a list of plugins that require further installation or have dependencies.

  • Jellybeans A colorful, dark color scheme for Vim.

cd .vim && mkdir colors && cd colors && wget http://www.vim.org/scripts/download_script.php?src_id=17225

Or you can use Solarized Theme like I do for everything.

  • Fugitive Requires Git (ofc though) to be installed.

    On Funtoo you have git already installed at this point.. On Gentoo just do:

    emerge --ask dev-vcs/git

    and fill your git basic details:

    git config --global user.email "<larry@gentoo.org>"

    git config --global user.name "<larry_the_cow>"

    More here.

  • syntastic requires many different binaries installed depending on what filetypes you want it to check. Syntastic itself has rather relaxed requirements: it doesn't have any external dependencies, and it needs a version of Vim compiled with a few common features: autocmd, eval, file_in_path, modify_fname, quickfix, reltime, and user_commands .

    See the FAQ for more information.

  • Ag.vim requires The Silver Searcher to be installed. For Funtoo and Gentoo Linux systems - it is already in the repository:

    emerge -av the_silver_searcher

  • Source Code for Powerline the custom font I'm using for vim-airline.

    Download Source Code files from SourceCodePro Repo and copy them to .fonts directory in your /home directory.

  • CtrlP C Matching Extension requires compilation. More details in its readme.

    First, make sure that Python header files are installed on your system (you should have them on Gentoo/Funtoo already). And get extension files from ctrlp repo Copy it to the: ~/.vim/bundle/ directory.

    Then run the installation script:

    cd ~/.vim/bundle/ctrlp-cmatcher

    ./install.sh

  • underscore-cli for JSON formatting. To have it you must have nodejs and NPM installed.

Gentoo:

cat /etc/portage/package.keywords

=net-libs/nodejs-0.10.10 ~amd64

Funtoo somehow doesn't need that argument to have it working.

Install nodejs:

emerge -av nodejs

then do:

curl https://npmjs.org/install.sh | sh

Finally install underscore-cli with the little help of npm:

npm install -g underscore-cli

Mappings

  • Typing jk insert mode is equivalent to Escape.
  • Pressing enter in normal mode saves the current buffer.

And many more. See mappings.vim and vundle_plugins for more.

Installing Custom Plugins

Create a new .vim file with the same name as the plugin you'd like to install in vundle_plugins/custom. Then add the installation block. For example:

vundle_plugins/custom/vim-move.vim

if exists('g:vundle_installing_plugins')
  Plugin 'matze/vim-move.vim'
  finish
endif

let g:move_key_modifier = 'C'

This example installs vim-move.

Currently Used Here Plugin List:

Plugin List

Stars___ Plugin Description
11,177 ★ YouCompleteMe 📄 A code-completion engine for Vim
7,633 ★ vim-airline 📄 lean & mean status/tabline for vim that's light as air
7,085 ★ vim-fugitive 📄 fugitive.vim: a Git wrapper so awesome, it should be illegal
6,526 ★ nerdtree 📄 A tree explorer plugin for vim.
3,789 ★ vim-surround 📄 surround.vim: quoting/parenthesizing made simple
3,246 ★ emmet-vim emmet for vim: http://emmet.io/
2,601 ★ vim-easymotion 📄 Vim motions on speed!
2,470 ★ ultisnips 📄 UltiSnips - The ultimate snippet solution for Vim. Send pull requests to SirVer/ultisnips!
1,824 ★ supertab Perform all your vim insert mode completions with Tab
1,714 ★ vim-javascript Vastly improved Javascript indentation and syntax support in Vim.
1,689 ★ vim-coffee-script CoffeeScript support for vim
1,530 ★ vim-indent-guides 📄 A Vim plugin for visually displaying indent levels in code
1,513 ★ ctrlp.vim 📄 Active fork of kien/ctrlp.vim—Fuzzy file, buffer, mru, tag, etc finder.
1,465 ★ vim-ruby Vim/Ruby Configuration Files
1,351 ★ tabular 📄 Vim script for text filtering and alignment
1,324 ★ vim-startify 📄 The fancy start screen for Vim.
1,271 ★ vim-tmux-navigator 📄 Seamless navigation between tmux panes and vim splits
1,261 ★ ag.vim 📄 Vim plugin for the_silver_searcher, 'ag', a replacement for the Perl module / CLI script 'ack'
1,217 ★ gist-vim 📄 vimscript for gist
1,198 ★ vim-unimpaired unimpaired.vim: pairs of handy bracket mappings
1,195 ★ vimux 📄 vim plugin to interact with tmux
1,060 ★ delimitMate 📄 Vim plugin, provides insert mode auto-completion for quotes, parens, brackets, etc.
939 ★ jellybeans.vim 📄 A colorful, dark color scheme for Vim.
919 ★ vim-signify 📄 Show a diff via Vim sign column.
835 ★ vim-repeat repeat.vim: enable repeating supported plugin maps with "."
786 ★ vim-abolish abolish.vim: easily search for, substitute, and abbreviate multiple variants of a word
785 ★ neomake 📄 A plugin for asynchronous :make using Neovim's job-control functionality
686 ★ html5.vim HTML5 omnicomplete and syntax
672 ★ tcomment_vim 📄 An extensible & universal comment vim-plugin that also handles embedded filetypes
672 ★ vim-json A better JSON for Vim: distinct highlighting of keywords vs values, JSON-specific (non-JS) warnings, quote concealing. Pathogen-friendly.
634 ★ vim-jsx 📄 React JSX syntax highlighting and indenting for vim.
598 ★ vim-jade Vim Pug (formerly Jade) template engine syntax highlighting and indention
578 ★ vim-less vim syntax for LESS (dynamic CSS)
562 ★ vim-session 📄 Extended session management for Vim (:mksession on steroids)
562 ★ vim-haml Vim runtime files for Haml, Sass, and SCSS
521 ★ undotree The ultimate undo history visualizer for VIM
518 ★ vim-eunuch eunuch.vim: helpers for UNIX
517 ★ vim-endwise endwise.vim: wisely add "end" in ruby, endfunction/endif/more in vim script, etc
515 ★ vim-textobj-user Vim plugin: Create your own text objects
478 ★ splitjoin.vim 📄 A vim plugin that simplifies the transition between multiline and single-line code
444 ★ vim-ruby-refactoring Refactoring tool for Ruby in vim!
428 ★ nerdtree-git-plugin A plugin of NERDTree showing git status
369 ★ vim-css3-syntax Add CSS3 syntax support to vim's built-in syntax/css.vim.
365 ★ swift.vim Vim runtime files for Swift
335 ★ webapi-vim vim interface to Web API
312 ★ MatchTagAlways 📄 A Vim plugin that always highlights the enclosing html/xml tags
293 ★ vim-cucumber Vim Cucumber runtime files
287 ★ csv.vim A Filetype plugin for csv files
281 ★ vim-bundler bundler.vim: Lightweight support for Ruby's Bundler
260 ★ vim-textobj-rubyblock A custom text object for selecting ruby blocks.
248 ★ vim-stylus Syntax Highlighting for Stylus
242 ★ switch.vim 📄 A simple Vim plugin to switch segments of text with predefined replacements
239 ★ vim-markdown Markdown for Vim: a complete environment to create Markdown files with a syntax highlight that don't sucks!
203 ★ vim-airline-themes A collection of themes for vim-airline
198 ★ vim-misc Miscellaneous auto-load Vim scripts
187 ★ vim-numbertoggle Toggles between relative and absolute line numbers automatically
182 ★ vim-rake rake.vim: it's like rails.vim without the rails
172 ★ vim-turbux 📄 Turbo Ruby testing with tmux
159 ★ vim-hardtime 📄 Plugin to help you stop repeating the basic movement keys
142 ★ open-browser.vim 📄 Open URI with your favorite browser from your most favorite editor
112 ★ ZoomWin 📄 Zoom in/out of windows (toggle between one window and multi-window)
106 ★ matchit.zip extended % matching for HTML, LaTeX, and many other languages
105 ★ ember.vim 📄 Vim plugin for the Emberjs frontend framework
101 ★ vim-visual-star-search Start a * or # search from a visual block
96 ★ colorv.vim 📄 A powerful color tool in vim
81 ★ vim-anzu 📄 Vim search status.
76 ★ vim-marked Open the current Markdown buffer in Marked.app
76 ★ vim-handlebars [deprecated] Vim plugin for Handlebars
70 ★ github-complete.vim Vim input completion for GitHub
60 ★ L9 Vim-script library
58 ★ portkey 📄 Navigate files at the speed of Vim.
58 ★ vim-togglecursor 📄 Toggle the cursor shape in the terminal for Vim.
51 ★ ListToggle 📄 A vim plugin for toggling the display of the quickfix list and the location-list.
47 ★ textile.vim Textile for VIM
44 ★ Join a better :Join command in vim
40 ★ QFEnter 📄 Open a Quickfix item in a window you choose. (Vim plugin)
20 ★ scratch.vim Plugin to create and use a scratch Vim buffer
11 ★ vim-voogle 📄 google for the word under the cursor to a browser because 2013
8 ★ vim-tomdoc Simple vim plugin that adds TomDoc templates to your code.
7 ★ indenthtml.vim 📄 alternative html indent script
7 ★ nginx.vim Syntax highlighting for nginx.conf and related config files.
3 ★ swap-parameters Swap parameters of a function or a comma separated list with a single command.
3 ★ GIFL 📄 Add "wrap terms in google I'm feeling lucky url" à la Textmate
2 ★ taskpaper.vim This package contains a syntax file and a file-type plugin for the simple format used by the TaskPaper application.
1 ★ tomdoc.vim A simple syntax add-on for vim that highlights your TomDoc comments.
1 ★ vim-tmux http://tmux.svn.sourceforge.net/viewvc/tmux/trunk/examples/tmux.vim?view=log
1 ★ HelpClose Close all help windows
0 ★ vim-textobj-reactprop A vim text object for a React prop
0 ★ vim-autoreadwatch A forked script for vim auto reloading of buffers when changed on disk.

I know.. a lot. But you won't even notice it rushing through all yours amazing files.

And Voila! Done.

About

My Personal Neovim Dotfiles Configuration

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published