Timeline for How do I make my own function to insert text in vim?
Current License: CC BY-SA 4.0
16 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Dec 6, 2020 at 0:40 | answer | added | Heptite | timeline score: 2 | |
Dec 5, 2020 at 3:08 | history | edited | YJH16120 | CC BY-SA 4.0 |
Clarified the intent of the question
|
Dec 5, 2020 at 3:04 | comment | added | YJH16120 | Sorry for the late replies. @Gerard I didn't I ended up doing this instead. Because I still can't figure out how to use functions properly. | |
S Dec 3, 2020 at 0:14 | history | edited | D. Ben Knoble♦ | CC BY-SA 4.0 |
Clarify the intent of the question
|
S Dec 3, 2020 at 0:14 | history | suggested | Vee | CC BY-SA 4.0 |
Clarify the intent of the question
|
Dec 2, 2020 at 22:19 | answer | added | eyal karni | timeline score: 0 | |
Dec 2, 2020 at 20:13 | review | Suggested edits | |||
S Dec 3, 2020 at 0:14 | |||||
Dec 2, 2020 at 19:54 | answer | added | Vee | timeline score: 0 | |
Dec 2, 2020 at 19:50 | comment | added | filbranden | Welcome to Vi and Vim! Can you please expand on what you're trying to accomplish? You mentioned "snippets" but didn't really explain them, are these stored as files that you want to read from the include directory? Can you give an example of file you would have there and what the end result you'd like? Thanks! | |
Dec 2, 2020 at 18:47 | history | migrated | from superuser.com (revisions) | ||
Dec 2, 2020 at 15:37 | comment | added | Gerard H. Pille | How did you map the Inc function? | |
Dec 2, 2020 at 9:39 | comment | added | DexYap | Well I've read up on it. Turns out you can do much more. And I figured a few things out. But I keep getting the same error. Trailing characters. This is what I currently have. | |
Dec 2, 2020 at 8:21 | comment | added | Gerard H. Pille | I'm afraid you don't know map. Have a look at eg. vim.fandom.com/wiki/Mapping_keys_in_Vim_-_Tutorial_(Part_1). I spent half my life using vi and wouldn't pretend to know it. | |
Dec 2, 2020 at 7:06 | comment | added | DexYap | I know :map just lets me remap a command to a preferred keybinding. But I'm trying to make my own command. | |
Dec 2, 2020 at 2:05 | comment | added | Gerard H. Pille | Are you looking for the :map command? | |
Dec 2, 2020 at 1:02 | history | asked | DexYap | CC BY-SA 4.0 |