All Projects → nannanmath → nan_vimrc

nannanmath / nan_vimrc

Licence: other
A Vim configuration for SSH client to edit on a remote Linux host.

Programming Languages

Vim Script
2826 projects
python
139335 projects - #7 most used programming language
shell
77523 projects

Projects that are alternatives of or similar to nan vimrc

VimConfig
Configuration files for Vi-IMproved.
Stars: ✭ 23 (+53.33%)
Mutual labels:  vimrc, vim-configs, vim-plugin, vim-configuration
Vinux
Swiss Army Knife,Dark power vim config
Stars: ✭ 198 (+1220%)
Mutual labels:  vimrc, vim-plugin, vim-configuration
Learn Vim
无废话极简版Vim学习笔记!文章按主题分拆为多个章节,并尽量控制每节的信息量;通过文字色彩和字体,将命令、快捷键突出显示;在每节结尾,提供一个命令列表,以便回顾文中介绍的重要命令。如果这些文章能对喜欢Vim的朋友有所益处,我将不胜荣幸。
Stars: ✭ 83 (+453.33%)
Mutual labels:  vimrc, vim-plugin, vim-configuration
dotfiles
Personal dotfiles
Stars: ✭ 18 (+20%)
Mutual labels:  vimrc, vim-configs, vim-configuration
Vimrc
📝 Vim Configuration for nerds with vim-plug
Stars: ✭ 33 (+120%)
Mutual labels:  vimrc, vim-plugin, vim-configuration
vim
📝 minimalistic vimrc based on KISS principle @vim
Stars: ✭ 46 (+206.67%)
Mutual labels:  vimrc, vim-plugin, vim-configuration
Vim Better Default
🎨 Simplify your .vimrc and make the default vim better
Stars: ✭ 138 (+820%)
Mutual labels:  vimrc, vim-plugin
Vim Bootstrap
Vim Bootstrap is a generator that provides a simple method of generating a configuration for vim / neovim.
Stars: ✭ 1,870 (+12366.67%)
Mutual labels:  vimrc, vim-configuration
Vimrc Config
re-vim: sensible vim configuration
Stars: ✭ 212 (+1313.33%)
Mutual labels:  vimrc, vim-configuration
vimmic
Lightweight and well documented Vim/Neovim configuration. Easy to use and configure.
Stars: ✭ 23 (+53.33%)
Mutual labels:  vimrc, vim-configuration
Dotfiles
💾 Ian's dotfiles, utils, and Zsh/Vim/tmux configs
Stars: ✭ 554 (+3593.33%)
Mutual labels:  vimrc, vim-configuration
Space Vim
🍀 Lean & mean spacemacs-ish Vim distribution
Stars: ✭ 2,785 (+18466.67%)
Mutual labels:  vimrc, vim-configuration
nvim
There are many neovim configurations, but this one is mine...
Stars: ✭ 41 (+173.33%)
Mutual labels:  vimrc, vim-configuration
Vim For Coding
vim-for-coding
Stars: ✭ 110 (+633.33%)
Mutual labels:  vimrc, vim-configuration
vim-easydebugger
A VIM multi-language debugger plugin
Stars: ✭ 47 (+213.33%)
Mutual labels:  vimrc, vim-plugin
vimrc
A shell script to deploy my vim configuration
Stars: ✭ 19 (+26.67%)
Mutual labels:  vimrc, vim-configuration
dotfiles
Dotfiles for Neovim (0.7+), Fish shell, git, Kitty, tmux, and more.
Stars: ✭ 54 (+260%)
Mutual labels:  vimrc, vim-configuration
vimfiles
Just my personal little vimfiles
Stars: ✭ 21 (+40%)
Mutual labels:  vimrc, vimrc-settings
swiss-army
Ansible-driven configuration management for maintaining a preferred environment (base system and app dotfiles / configurations)
Stars: ✭ 44 (+193.33%)
Mutual labels:  vimrc, vim-configs
Vim Init
轻量级 Vim 配置框架,全中文注释
Stars: ✭ 478 (+3086.67%)
Mutual labels:  vimrc, vim-configuration

Introduction

nan-vim is a private vim configuration which is welcome to be used by others. It's designed for remote logins by SSH. This confiuration is tested on MobaXterm based MS-Windows as local host and Ubuntu Server 16.04 as remote host.

Vim_screenshot

Installation

  • Install plugins
git clone --recursive https://github.com/nannanmath/nan_vimrc.git ~/.nan_vimrc
cd .nan_vimrc
./install
  • Install YouCompleteMe

Please refer to YouCompleteMe

Usage

  • <leader> is ,.

Features

  • Display & Basic Operation

    • Colorscheme & Status line.

      Solarized Colorscheme with dark baclgroud.

      Status line is based on lightline.vim plugin.

    • Cpp highlight enhanced by vim-cpp-enhanced-highlight.

    • Auto-completion for quotes, parens, brackets.

    • Incremental searching.

    • Auto-changing working directory to the project root.

    • Display the indention levels with thin vertical lines.

    • Highlight line and column of current cursor.

    • Limit line length for red color of the 80-th column.

  • Resize and Maximize window

This feature is based on vim-maximizer and obvious-resize.

Shortcut Action
<C-Up> Resize window up.
<C-Down> Resize window down.
<C-Left> Resize window left.
<C-Right> Resize window right.
<F4> Toggle maximize / restore a window.
  • Directory explore

This feature is based on NERD Tree plugin.

Shortcut Action
<F2> Toggle NERD Tree
s Open buffer in horizental split window
v Open buffer in vertical split window
  • Comment function

This feature is based on NERD Commenter plugin.

Shortcut Action
<leader>c<space> Toggle comment state

More details can be found from NERD Commenter.

  • Find

This feature is based on CtrlP and Ctrlp-funky.

Shortcut Action
<leader>p Find file in a porject directory.
  • Buffers

This feature is based on vim-buffergator and vim-bufkill.

Shortcut Action
<leader>b Toggle for listing all buffers in a window.
<C-s> Open buffer in horizental split window.
<C-v> Open buffer in vertical split window.
<C-t> Open buffer in a new tab.
:BD Wipe a file from buffer.

More details can be found from vim-bufkill.

  • Undo & Yank

This feature is based on UndoTree and YankRing.

Shortcut Action
<F6> Show a Yank ring.
<F7> Show a Undo tree in a window.
  • Snippets

This feature is based on [Unltisnips][] and vim-snippets.

Shortcut Action
<Tab> Snippets expand trigger.
<C-f> Snippets jump forward.
<C-b> Snippets jump backward.
  • Bookmark

This feature is based on vim-bookmarks.

Shortcut Action
mm Add / Remove book mark at current line.
mn Jump to next bookmark in buffer.
mp Jump tp previous bookmark in buffer.
ma Show all bookmarks.
mc Clear bookmarks in current buffer.
mx Ckear all bookmarks.

More details can be found from vim-bookmarks.

  • Tabularize

This feature is based on Tabular.

Shortcut Command
<C-l> :Tabularize /

Input the character you want to align and press Enter.

  • Region expand

This feature is based on [vim-region-expand][].

Shortcut Action
+ Expand selective region.
_ Narrow selective region.
  • Tabs

This feature is based on Tabman.

Shortcut Action
<F3> Toggle Tabman window for listing all tabs.
<leader>tf Focus on tabman window.
  • Python-IDE

This feature is based on python-mode

Shortcut Action
<leader>r Run python code.
<leader>k Set breakpoint.
T Show doc for current word.
  • Completion

This feature is based on YouCompleteMe.

Shortcut Action
<C-a> Invoke YCM Completion.
<Down> List select completion.
Up List previous completion.
<leader>j Goto
  • Term

This feature is based on conque-term.

Shortcut Action
<F8> Open a term.
  • Session

This feature is based on vim-session.

Shortcut Command
<leader>ss :SaveSession
<leader>so :OpenSession
  • Git

This feature is based on fugitive

Command Action
:Gstatus Open window show git status.
:Gdiff Compare working copy / index or resolve conflicts.

More details can be found from fugitive.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].