Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

The ultimate nvim distribution

NotificationsYou must be signed in to change notification settings

DongjunLee/hb-nvim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

hb-nvim: HumanBrain's Neovim Distribution

hb-nvim is a distribution of vim plugins and resources for Vim andNeovim withOh My ZSH.

Requirements

  • Vim > 7.4, prefer 8.0

Based on

Installation

  1. Install spf13-vim
curl https://j.mp/spf13-vim3 -L> spf13-vim.sh&& sh spf13-vim.sh
  • move.vimrc and.vimrc.bundles to $HOME path.
mv .vimrc~/.mv .vimrc.bundles~/.
  1. Install or Update Plugins

    vim -> :PluginInstallvim -> :PluginUpdate
  2. Install Neovim (Stable)

    $ brew install neovim/neovim/neovim
    • Transitioning from Vim
    mkdir~/.configln -s~/.vim~/.config/nvimln -s~/.vimrc~/.config/nvim/init.vim
  3. Install vim-plug (Neovim)

    curl -fLo~/.config/nvim/autoload/plug.vim --create-dirs \https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
    pip3 install neovim
    • Install or Update Plugs
    nvim -> :PlugInstallnvim -> :PlugUpgrade
  4. Install Oh My ZSH!

    sh -c"$(wget https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh -O -)"
  5. Install requirements.txt

    • for Python (autopep8, flake8)
    pip install -r requirements.txt

Usages

  1. Cursor
keydescripton
k커서를 위로 움직임
j커서를 아래로 움직임
h커서를 왼쪽으로 움직임
l커서를 오른쪽으로 움직임
-커서를 줄의 처음으로 옮김
e, E다음단어의 끝으로, 문자단위 이동
w, W다음단어의 처음으로, 문자단위 이동
$줄의 마지막으로
0줄의 처음으로
^줄의 처음으로(공백이 아닌 처음시작되는 문자)
Shift+g문서의 마지막으로 이동한다.
gg, 1g문서의 처음으로 이동한다. 1대신 다른 숫자를 입력하면 해당 숫자의 라인으로 이동한다.
), (다음, 이전 문장의 처음으로
}, {다음, 이전문단의 처음으로
]], [[다음, 이전 구절의 처음으로

Plugins

" Use neoformat." option - replace: replace the file, instead of updating buffer (default: 0)let g:neoformat_python_autopep8 = {\'exe':'autopep8',\'args': ['--aggressive','--max-line-length 120'],\'replace': 1,\}let g:neoformat_enabled_python = ['autopep8']

Additional Syntaxes

Colorscheme

Git Hooks

  • Python (flake8)
flake8 --install-hook git" if want prevent commitgit config --bool flake8.strict true

About

The ultimate nvim distribution

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

[8]ページ先頭

©2009-2025 Movatter.jp