Last active
March 8, 2019 10:10
-
-
Save Kento75/596492089a2a47b662ae40270cde8148 to your computer and use it in GitHub Desktop.
【備忘録】Vimの基本的な使い方 ref: https://qiita.com/Kento75/items/3134b3a45fb9519ec48c
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ vim |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ vim hoge.txt |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# カレントディレクトリのファイルを開く | |
:e hoge.txt | |
# ファイルパスを指定して開く | |
:e ../huga.txt |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
:enew |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
:w fuga.txt |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment