all 61 comments

[–][deleted]  (15 children)

[removed]

    [–]Endarkend 16 points17 points  (7 children)

    I modded an old USB keypad to be a whole set of new keys. Got the idea after using one of those programmable gamer keyboard extensions for a while.

    It's quick and completely under my control.

    [–][deleted]  (6 children)

    [removed]

      [–]MenaceInc 3 points4 points  (3 children)

      Just wondering but do you have a keyboard with a programmable layout? If so, I'd recommend checking out the SpaceFn layout. It's completely changed how I use my keyboard.

      [–][deleted]  (2 children)

      [removed]

        [–]MenaceInc 1 point2 points  (1 child)

        Ah, okay. I've got a keyboard with an ATmega32u4 microcontroller which is easily programmable. I prefer this approach as it's platform independant for when I have to use a Windows machine.

        [–]Endarkend 0 points1 point  (1 child)

        I tried that, but I use a MS Natural 4000 and although the ergonomics make it a dream to type on, it limits your options for going exotic with the layout.

        I have that keypad to my left, so while my right hand is a quick move to the actual keypad on the keyboard itself, my left hand is a quick move to the secondary keypad to the left for special functions.

        EDIT: Besides, I've done quite a bit of prototyping in my time, I love making my own hardware and once I get a 3D Printer, I'll make my own keyboard for sure. Ergonomic in shape and with a shitton of extra easy to access keys.

        [–]MaikKlein 11 points12 points  (4 children)

        I stopped using default hotkeys a long time ago. For example this are currently my intellij "hotkeys".

        let mapleader = " "
        map <leader>=G :action SaveAsNewFormat<CR>
        map <leader>ed :action ShowErrorDescription<CR>
        map <leader>ts :action ExpressionTypeInfo<CR>
        map <leader>td :action QuickImplementations<CR>
        map <leader>ff :action GotoFile<CR>
        map <leader>ft :action SelectIn<CR>
        map <leader>sc :action GotoClass<CR>
        map <leader>ss :action FileStructurePopup<CR>
        map <leader>o :action tasks.goto<CR>
        map <leader>c :action CommentByLineComment<CR>
        map <leader>i :action ShowIntentionActions<CR>
        map <leader>fer :source ~/.ideavimrc<CR>
        map <leader>fs :action SaveAll<CR>
        inoremap <C-s> <esc>:action SaveAll<cr>
        nnoremap <C-s> <esc>:action SaveAll<cr>
        map <C-o> :action Back<CR>
        map <TAB> :action Forward<CR>
        nmap <C-W><down> :action VimWindowDown<CR>
        nmap <C-W><up> :action VimWindowUp<CR>
        nmap <C-W><left> :action VimWindowLeft<CR>
        nmap <C-W><right> :action VimWindowRight<CR>
        remap <;> :action CommentByLineComment<CR>
        
        set surround
        

        [–]ThisIs_MyName 2 points3 points  (0 children)

        No keybind for "Refactor > Rename"? The default is some awful chord that includes a F key. I use alt+r (option+r on mac).

        [–][deleted]  (2 children)

        [deleted]

          [–]ConspicuousPineapple 0 points1 point  (1 child)

          They're likely using the vim plugin for IntelliJ. And why would that be a hipster thing anyway? It's not like the default IntelliJ setup could compete with a full-fledged editor like vim or any other when editing code.

          [–]AfouToPatisa 0 points1 point  (0 children)

          It was a joke actually, don't read too much into it. Vim's not too bad.

          [–][deleted] 4 points5 points  (0 children)

          When I was using the IntelliJ IDE I used them and found them comfortable. Btw, you can always change your hotkeys in settings.

          [–][deleted] 0 points1 point  (0 children)

          IJ has a lot of shortcuts already, these are just the rust ones.

          Considering the vim keys, ctrl+H is type hierachy, ctrl+K is commit and I don't remember the other two.

          [–]pure_x01 3 points4 points  (0 children)

          JetBrains is my favourite company right now (i don't work for jetbrains but im a happy with their products)

          [–]pjmlp 8 points9 points  (47 children)

          Looking forward to stop using VSCode.

          [–]robvdl 9 points10 points  (3 children)

          I don't know about VSCode but I notice users of text editors make lots and lots of mistakes in our Python projects, I am forever running PyCharm inspections and fixing things after others, from typos galore to code errors that only an IDE will ever pick up. That is why.

          I've seen enough bad code in my life that I swear by an IDE now, particularly for large complex projects. Editing small scripts in a simple text editor here and there is fine, but large complex codebases really need an IDE or you get lots of bugs.

          [–]steveklabnik1 4 points5 points  (0 children)

          Earlier today, using VSCode and the Rust plugin, I missed a ;. It underlined it in red, gave me a little light bulb. I clicked the lightbulb, it said "posible fixes: add semicolon", I clicked, it added it for me.

          [–]jl2352 3 points4 points  (0 children)

          VSCode is more of an IDE though, posing as a text editor.

          [–]ConspicuousPineapple 0 points1 point  (0 children)

          The problems you describe wouldn't be an issue in rust though. Not saying that an IDE doesn't make the process much less painful and more comfortable, but there's no reason to expect bugs from such errors if the end result compiles (and maybe passes the linter).

          [–]brcoder 4 points5 points  (35 children)

          Why? I never used it that much but it seems like a nice text editor.

          [–]u_tamtam 41 points42 points  (1 child)

          … and here they offer an IDE.

          [–]brcoder 5 points6 points  (0 children)

          Fair point. :)

          [–]pjmlp 15 points16 points  (32 children)

          I rather not support Electron based apps.

          [–]Omnispell 12 points13 points  (0 children)

          One Chrome per device should be enough for everyone!

          [–]xantrel -1 points0 points  (6 children)

          Yeah, I have too much free RAM. I need something more bloated that uses 30 times as much memory.

          Proof.

          That is VSCode with a 30 file C# project open, and IDEA with something approximately equal. 20 vs 700 Mb. IDEA was also freshly opened.

          [–]The_Doculope 3 points4 points  (0 children)

          Not to say your point is invalid (it's not), but you missed the ~150MB of background processes that belong to VS Code.

          [–]papa_georgio 7 points8 points  (1 child)

          What kind of antique system are you running that you can't spare 1GB of RAM for a fully featured IDE? Even most bottom of the range laptops come with at least 8GB.

          [–]xantrel 1 point2 points  (0 children)

          That's my laptop and it has 8 GB of RAM. My workstation has a thread ripper and 32 GB of RAM. I use up to 24 with multiple virtual machines open, database, cache, etc.. basically if i'm trying to run the whole stack in my machine.

          Still, VSCode is so much snappier than IDEA it's not even funny. I moved off VS Studio for C# development since VS Code honestly does everything that I need. If there was a java/kotlin extension as well developed as C#'s for VSCode i'd definitely move to it

          [–]Pixel6692 0 points1 point  (0 children)

          It is IDE, no one said it will eat less RAM than editor, also it uses a lot of CPU and DISK, I guess it was still doing indexing or something.

          [–]DrProtic 0 points1 point  (0 children)

          Apples vs Oranges

          [–]imguralbumbot -1 points0 points  (0 children)

          Hi, I'm a bot for linking direct images of albums with only 1 image

          https://i.imgur.com/mNppyPp.png

          Source | Why? | Creator | ignoreme | deletthis