Repository files navigation
neovimインストール, zshに変更
git colne
asdfをインストール
sh init.sh
sh dotfilesLink.sh
vim, :CocInstall coc-python coc-json coc-ultisnips
powerline fontsをitermにインストール
poetryをインストール
pipxをインストール(Macはbrew)
pipx install poetry
設定
poetry config virtualenvs.in-project true
general
/~とかで検索をかけた後、
次の検索ワードへの移動: n
前の検索ワードへの移動: N
ハイライトを消す: :noh
移動周り
tab周り
新規タブ作成: tc or :tabnew
右のタブへ移動: tl or :tabnext
左のタブへ移動: th or :tabprevious
タブ一覧を表示: tt or :tabs
タブを閉じる: tx or :tabclose
参考URL
ale
エラー箇所への移動: <C-j>, <C-k>
自動補正: :ALEFix
nerdtree
開く: <C-e>
全部更新: <S-r>(選択ノード更新: r))
ファイルを新しいタブで開く: t
ドットファイル表示: <S-i>
root dirを指定のディレクトリに下げる: <S-c>
fzf
:Files: ,F
:GFiles, git ls-files: ,f
:GFiles?, git status: ,g
:History: ,h
color sheme一覧: ,c
:Rg: ,r
coc
モジュールの定義元ファイルへ移動: gd
モジュールのreference一覧: gr
補完候補の選択の際の移動: <C-j>, <C-k> or <Tab>, <S-Tab>
補完で使用するpythonの指定
:CocCommand python.setInterpreter
今は、pyenv which pythonを走らせて返ってきたpathを使うようにしているが、若干不具合が起こるかもらしい。
neoterm
terminal開く: <C-t>
terminal起動時のinsert mode終了: <C-w>
vim-fugitive
git status: :Gstatus or :G or <Space>gs
カーソルを合わせて-でgit add, resetができる
カーソルを合わせてDで:Gdiffができる
Enterでファイル表示
ccで:Gcommitできる
caで, git commit --amendできる
今開いているソースをgit add: :Gwrite or <Space>gw
直前のコミットまで戻る(git checkout filename): :Gread or <Space>gr
git blame: :Gblame or <Space>gb
変更点を表示: :Gdiff or <Space>gd
git commit: :Gcommit or <Space>gc
git push: :Gpush or <Space>gp
基本的には、:Git ~をgit ~の代わりとして色々なgit処理ができる
winresizer
起動、Resize modeに入る: <C-s>
Resize modeに入る: r
Focus modeに入る(単純にwindowを移動するmode)): f
Move modeに入る(window自体を移動させるmode): m
終了
変更を反映して終了: <Enter>
変更を破棄して終了: q
previm
quickrun
copilot
補完: <C-j>
次の候補へ: <C-l>
前の候補へ: <C-h>
候補の削除: <C-[>
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
You can’t perform that action at this time.