tailieunhanh - Learning the vi Text Editor 6th phần 7

Bốn nhân bản tất cả các cung cấp các tính năng bổ sung mà làm cho văn bản đơn giản chỉnh sửa dễ dàng hơn và mạnh hơn. Chỉnh sửa các dòng lệnh cũ khả năng để chỉnh sửa các lệnh chế độ cũ Biên tập viên di chuyển đến định nghĩa của cấu trúc lựa chọn trong . Bây giờ bạn có thể xem qua các ý kiến giải thích nó được sử dụng như thế nào | In order to access the history you use the arrow keys on your terminal to display previous commands and to edit them. Us l and J to page through the list and and - to move around on a command line. You can insert characters by typing and erase them by backspacing over them. Much as when editing in a regular vi buffer the backspace does remove the characters but the line is not updated as you type so be careful When entering text into the Elvis ex history buffer . on the colon command line the TAB key can be used for filename expansion. The preceding word is assumed to be a partial filename and elvis searches for all matching files. If there are multiple matches it fills in as many characters of the name as possible and then beeps or if no additional characters are implied by the matching filenames elvis lists all matching names and redisplays the command line. If there is a single match elvis completes the name and appends a tab character. If there are no matches elvis simply inserts a tab character. To get a real tab character precede it with a AV. You can also disable filename completion entirely by setting the Elvis ex history buffer s inputtab option to tab via the following command Elvis ex history set inputtab tab Tag Stacks Tag stacking is described in Section . In elvis tag stacking is very straightforward as shown in Table and Table . Table . elvis Tag Commands Command Function ta g tagrstringr Edit the file containing tagstring as defined in the tags file. The forces elvis to switch to the new file if the current buffer has been modified but not saved. stac k Display the current tag stack. po p Pop a cursor position off the stack restoring the cursor to its previous position. Table . elvis Command Mode Tag Commands Command Function A Look up the location of the identifier under the cursor in the tags file and move to that location. The current location is automatically pushed onto the tag stack. AT Return to the previous .

TỪ KHÓA LIÊN QUAN
crossorigin="anonymous">
Đã phát hiện trình chặn quảng cáo AdBlock
Trang web này phụ thuộc vào doanh thu từ số lần hiển thị quảng cáo để tồn tại. Vui lòng tắt trình chặn quảng cáo của bạn hoặc tạm dừng tính năng chặn quảng cáo cho trang web này.