I think the same applies to the pedal. Maybe you’ll try to use it when it isn’t there, but so what? It might slow you down for a second, but I don’t think it’s going to be a major inconvenience.
I haven't really forgotten any of the long form commands that I create shortcuts for, but it's really annoying using the long forms when typing them out over and over was the reason why I created shortcuts for them in the first place...
My .vimrc has the following lines:
source /usr/share/vim/vim80/vimrc_example.vim
colo desert256
set ai
set et
set sts=4
set sw=4
set t_Co=256
set ts=4
On systems that I don't have my .vimrc on, I have no problem working with them because what's in /etc/vimrc works well enough for me since I really don't have to much to change other than the colorscheme (since vim mode lines take care of the rest).I believe it's better to allow people to choose how they configure their editor rather than making that decision for them.
Instead, Vim has a very spartan default configuration. There are good historical reasons for this. But it is a sad history, because it means, most long-time users end up with fairly heavy customisation. And those customisations will routinely be different from everyone else's set up, not just when they want to enact some personal preference.
I'm going to tell them: "Remapping caps lock to delete".
Not in Vim, but system wide.
I use AutoHotKey to remap caps lock to delete and shift + caps lock to caps lock.
Don't vim have decent autocomplete?
(I mostly use it when ssh-ing into servers but figured people who code in it must have set it up as an IDE?)
It does, but it requires that the word to be autocompleted is present in one of the other loaded buffers. If you're typing out a new variable name, it won't work.
There are probably plugins to change words to camelCase, snake_case, etc, but I'm not aware of any built-in command to do that (other than manually editing it).
The only thing that springs to mind is 'Racing Inspired Cosmetic Enhancements'.
He’s making an analogy between those cars with tons of modifications and the extent of customization that seems common in emacs.
See https://www.urbandictionary.com/define.php?term=rice
Race Inspired Cosmetic Enhancements. (R.I.C.E.)Parts put on cars to make them look fast, when they have no internal tuning, and are actually slow as hell. Parts usually consist of excessivley angular bodykits, large rear spoilers, neon, sponsor stickers, chrome rims, fake "coffee can" exhaust tips, and loud, annoying paint jobs and/or vynils. Sometimes parts are do-it-yourself installed and are basically duct taped to the car. Most commonly known for being done to Honda Civics, but can also be done to slow domestic vehicles, such as a Chevy Cavalier, etc.
In the common vernacular where I live it's generally meant as a pejorative.
OTOH I’ve been using the Dvorak keyboard layout and custom keyboards for the same period of time but usually I get by if I need to type just a little and if I need to type a lot I bring one of my keyboards.
Automatic is frowned upon by many of us ;-)
I guess when electric takes over that's all we'll have. I'll miss manual gears for sure.
The biggest struggle is words beginning "am" or "ma", the two keys which are in the same location on both layouts.
If you can learn to cope with changing between a Mac and non-Mac then you can learn to cope with changing keyboard layouts.
I'd recommend using only one layout when learning though: I switched solely to Dvorak when I was learning, then learned to use both side-by-side afterwards.
It's also very uncommon to have to type on somebody else keyboard (and not good for hygiene).
If I'm helping a colleague, I expect them to type, otherwise they probably won't remember anyway. Otherwise, all I'm likely to type is a couple of letters to search for a name on the video conferencing system or a YouTube video on a friend's computer.
I like the idea of 'better' input methods including key layout but in reality I've found it simpler to stick to the defaults of the world. I'd be interested to hear your experiences
I made the "tent" showing the keyboard layout, as described at [1].
It's simply more comfortable to use Dvorak. The clearest way I have to show that is by tapping fingers on the table: it's much easier to go small-to-large than large-to-small. On Dvorak, that means typing digraphs like sn, st, sh, nt, nh, th is optimized (Qwerty equivalent: ;l ;k ;j lk lj kj — what a waste of easy-to-type combinations!). The reverse combinations are rarer in English: ht, hn, hs, tn, ts, ns.
All the rare letters are on the bottom row, so the most awkward movement — bottom row then top row — is minimized.
Added to that, hand alternation is much better, which is also more comfortable. Taking my first sentence, "after" and "was" are all on one hand, and trigrams like "ear" (learnt), "rst" (first), "ect" (project) are common, yet ugly to type on Qwerty.
If you can touchtype Qwerty, type this to simulate typing the first two sentences:
G pdaolk hfoglu kjd ;fmmdo aykdo kjd ygo;k tdao sy flg.do;gktw ,jdl G ,a; ,sovglu sl a ;mapp ;fmmdo roscdik ak kjd flg.do;gkte Gk ialqk ja.d nddl msod kjal k,s mslkj;w rosnanpt msod pgvd slde
To remain closer to the defaults of the world, I've never bothered with Colemak or similar. I can add Dvorak to any computer I use, which I will occasionally do if someone asks me to use their computer to take minutes in a meeting or similar.
I have no qualms using default vim despite it not being my standard method of work, but I still hate the feeling of any case where some muscle memory sequence does not result in what I expect. Ideally I don't want to have to think about anything outside of the problem at hand at all, and this is exactly the kind of thing that breaks immersion.
Because of this, among other reasons, I like small configs, standard input methods, programs with sane defaults and having a simple dotfiles repo.
On this note I can't wait til the next best set of standard input/output comes along, like AR screen so we can move around freely and naturally while working... that's the dream
Right click paste? Nope. On Debian it changes to visual mode.
If you put this in your .vimrc, it should allow you to paste from the system clipboard by pressing space-p:
let g:mapleader = "\<Space>"
nmap <leader>p "*p
vmap <leader>p "*p
(Or use `"*p` or `"+p`, not including the backticks.)Edit:
s/clipbaord/clipboard/
:version
within vim to see what compile time features are enabled or disabled. If the list says +xterm_clipboard, then that feature is enabled.In my experience, terminal vim doesn't have that feature enabled, but gvim does.
:w !xclip -selection clipboard
or :r !xclip -o -selection clipboard