サクサク読めて、アプリ限定の機能も多数!
トップへ戻る
Pixel 9
blog.sanctum.geek.nz
If you have made changes to your tmux configuration file in the ~/.tmux.conf file, it shouldn’t be necessary to start the server up again from scratch with kill-server. Instead, you can prompt the current tmux session to reload the configuration with the source-file command. This can be done either from within tmux, by pressing Ctrl+B and then : to bring up a command prompt, and typing: :source-fi
The recently released tmux 1.8 includes a new feature, zoomed panes, that allows temporarily expanding a pane to the full size of the tmux window to see more of its contents. In the man page for tmux(1), the feature is described as follows, under the details for the resize-pane command: With -Z, the active pane is toggled between zoomed (occupying the whole of the window) and unzoomed (its normal
If you have a Tmux window divided into panes, you can use the synchronize-panes window option to send each pane the same keyboard input simultaneously: You can do this by switching to the appropriate window, typing your Tmux prefix (commonly Ctrl-B or Ctrl-A) and then a colon to bring up a Tmux command line, and typing: :setw synchronize-panes You can optionally add on or off to specify which stat
If you’re using tmux as a terminal multiplexer and keeping one window open per host, you might be manually renaming each window to feature the relevant hostname. This is a little annoying to do if you’re dealing with a lot of hosts, so it’s worthwhile to automate it. In the tmux manual, the following escape code incantation is given to update the window title from within the terminal: $ printf '\0
Registers in Vim are best thought of as scratch spaces for text, some of which are automatically filled by the editor in response to certain actions. Learning how to use registers fluently has a lot of subtle benefits, although it takes some getting used to because the syntax for using them is a little awkward. If you’re reasonably fluent with Vim by now, it’s likely you’re already familiar with t
These koans have been independently translated into Chinese (archived), thanks to Wanzhang Sheng, and into Spanish (archived), thanks to Daniel Campoverde Carrión. See also: The Dharma of Vi (archived), Emperor Sh and the Traveller Master Wq and the Windows developer Master Wq was addressing some Vim novices. After his lecture on the many virtues of Vim, he asked if there were any questions. A you
The classic ed editor is a really good example of a sparse, minimal, standard Unix tool that does one thing, and does it well. Because there are so many good screen-oriented editors for Unix, there’s seldom very much call for using ed, unless you’re working on very old or very limited hardware that won’t run anything else. However, if part of the reason you use vi is because you think it will alwa
This series has been independently translated into Chinese, Russian, Turkish, and Korean, and formatted as an ebook. Newbies and experienced professional programmers alike appreciate the concept of the IDE, or integrated development environment. Having the primary tools necessary for organising, writing, maintaining, testing, and debugging code in an integrated application with common interfaces f
If you’ve moved to Vim from an editor like Notepad++ or TextMate, you’ll be used to working with the idea of tabs in a text editor in a certain way. Specifically, a tab represents an open file; while the tab’s there, you’ve got an open file, as soon as you close it, it goes away. This one-to-one correspondence is pretty straightforward and is analogous to using tabs in a web browser; while the pag
Vim’s massive command set in both normal and command mode makes the concept of a macro especially powerful. Most Vim users, if they ever use macros at all, will perhaps quickly record an edit to one line, starting with qq and finishing with q, executing with @q, and otherwise never give the concept much thought. For slightly more advanced Vim users, macros may be more frequently useful, but they p
The benefits of getting to grips with Vim are immense in terms of editing speed and maintaining your “flow” when you’re on a roll, whether writing code, poetry, or prose, but because the learning curve is so steep for a text editor, it’s very easy to retain habits from your time learning the editor that stick with you well into mastery. Because Vim makes you so fast and fluent, it’s especially har
このページを最初にブックマークしてみませんか?
『blog.sanctum.geek.nz』の新着エントリーを見る
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く