This way, I have all the familiar key bindings, and the full power of Emacs at my fingertips, no matter what I do.
https://geekhack.org/index.php?topic=4482.0
https://geekhack.org/index.php?topic=48499.0
https://geekhack.org/index.php?topic=73366.0
:p
https://geekhack.org/index.php?topic=4482.0
https://geekhack.org/index.php?topic=48499.0
https://geekhack.org/index.php?topic=73366.0
:p
I knew this was a really popular question around here, but that's ridiculous :)
I knew this was a really popular question around here, but that's ridiculous :)It's interesting to see how usages change, though.
VIm with line numbers and Penumbra color theme. I actually find myself often wishing that the forum editor was VIm.
Is there spyware in Chromium?VIm with line numbers and Penumbra color theme. I actually find myself often wishing that the forum editor was VIm.
If you use the Chrome browser/spyware, there's Vimium for forms. I have to use Chrome for some things at work, and Vimium's pretty nice.
Is there spyware in Chromium?VIm with line numbers and Penumbra color theme. I actually find myself often wishing that the forum editor was VIm.
If you use the Chrome browser/spyware, there's Vimium for forms. I have to use Chrome for some things at work, and Vimium's pretty nice.
I used to be completely Vim, but TBH VS Code has everything I could want, and the extensions for anything it doesn't have out of the box. Super lightweight, fast, cross-platform, and performs well under HiDPI on Windows (which GVim fails at hard)
VS Code is nice. Its Vim modes are crap.
libreoffice for most of my stuff
scrivener if it's november
A genuine question : is Vim like editor really viable for those who have to work on files in multiple directories? It seems way easier for me to use a GUI to browse and open the file rather than type :b and browse to the file manually.
Long time Sublime Text user, but some months ago I switched to VS Code, and I'm really loving it.
out-of-the-box NodeJS debugger is amazing (I'm a JS developer)
Long time Sublime Text user, but some months ago I switched to VS Code, and I'm really loving it.
out-of-the-box NodeJS debugger is amazing (I'm a JS developer)
I like VS Code too, but Sublime is very fast and it feels soo wrong using MS VS Code in Linux.
Sublime will always be faster no matter what.
But as I upgraded my work machine, VS code feels more than enough fast.
As for using it on linux.
It was strange at first, but the features won me over. So I decided to do the unthinkable.
BTW, I'm a former C# developer, so I'm used to MS IDE's and work tools, so I got that to help me out with it.
Currently for me, it's hands down the most comfortable text editor for web development.
It has some really kick ass features.
And with the awesome plugin for syncing the settings it's perfect for me since I switch computers a lot.
Sublime will always be faster no matter what.
But as I upgraded my work machine, VS code feels more than enough fast.
As for using it on linux.
It was strange at first, but the features won me over. So I decided to do the unthinkable.
BTW, I'm a former C# developer, so I'm used to MS IDE's and work tools, so I got that to help me out with it.
Currently for me, it's hands down the most comfortable text editor for web development.
It has some really kick ass features.
And with the awesome plugin for syncing the settings it's perfect for me since I switch computers a lot.
Hey, VS has a syncing plugin? How does it work?
https://marketplace.visualstudio.com/items?itemName=Shan.code-settings-sync
You set up a gist and it has the settings and plugins backups.
IMHO one of the most useful things to have on a text editor.
I'm a JS developer
I'm a JS developer
You have my deepest sympathy.
I'm a JS developer
You have my deepest sympathy.
Why, JS is actually an extremely pleasant language to use.
Everything is logical in JS if you know what are you doingOh dear…
"...VS Code.....Super lightweight"
I use vim, because I don't totally hate babiesI totally hate babies and I use Vim.
I'm a JS developer
You have my deepest sympathy.
Why, JS is actually an extremely pleasant language to use.
And on top of that, and really potent language, especially if you know what are you doing.
ES6 is beyond amazing.
Mind you, I'm not talking about jQuary or already made frameworks.
I'm mostly talking about NodeJS and usage of pure vanilla JS and ES6.
Currently it's my second favorite after Pyhton.
And by far much better to use than PHP or Java.
I think that main problem that people have with JS is that a lot of them dive into directly, and they don't have any prior knowledge of any other proper programming language.
In my opinion, the only correct way of learning to properly use JS is to first be very proficient in a traditional back end language. It's really an language that doesn't hold your hand and on top of it, even a lousy code can work. That doesn't mean you should write a lousy code, it just mean you suck at programming. I've been programming in JS for about 5ish years, while being a programmer professionally for about 8 year. Most of the time I used either python or C# as my main language, while complimenting them with JS. And since couple of years back, I've moved to mostly NodeJS and NoSQL databases. And never felt any hindrances by using the language. On contrary, I felt hindrances using other languages and stuff missing from JS. Over the course of my professional carrier I've work on many platforms and on many languages, from desktop apps, web apps, Symbian, Android, Windows Mobile and Windows Phone and even did Mathematical programming in Mathlab and APL2, and in the end. I don't give a **** what I'm using, as long as it's not Java :D
Everything is logical in JS if you know what are you doing, but if you do 3 courses on Lynda or CodeAcademy and they you have the nerve to call yourself a JS developer... Good on you, but you're full of ****.
Rant over...
TL;DR; I kinda had to rant about people slandering JS all the time, while not knowing anything about it or how to proper utilize it. I'm not saying that you don't know, but most people in fact don't, and they're not helping by slandering it.
I'm a JS developer
You have my deepest sympathy.
Why, JS is actually an extremely pleasant language to use.
And on top of that, and really potent language, especially if you know what are you doing.
ES6 is beyond amazing.
Mind you, I'm not talking about jQuary or already made frameworks.
I'm mostly talking about NodeJS and usage of pure vanilla JS and ES6.
Currently it's my second favorite after Pyhton.
And by far much better to use than PHP or Java.
I think that main problem that people have with JS is that a lot of them dive into directly, and they don't have any prior knowledge of any other proper programming language.
In my opinion, the only correct way of learning to properly use JS is to first be very proficient in a traditional back end language. It's really an language that doesn't hold your hand and on top of it, even a lousy code can work. That doesn't mean you should write a lousy code, it just mean you suck at programming. I've been programming in JS for about 5ish years, while being a programmer professionally for about 8 year. Most of the time I used either python or C# as my main language, while complimenting them with JS. And since couple of years back, I've moved to mostly NodeJS and NoSQL databases. And never felt any hindrances by using the language. On contrary, I felt hindrances using other languages and stuff missing from JS. Over the course of my professional carrier I've work on many platforms and on many languages, from desktop apps, web apps, Symbian, Android, Windows Mobile and Windows Phone and even did Mathematical programming in Mathlab and APL2, and in the end. I don't give a **** what I'm using, as long as it's not Java :D
Everything is logical in JS if you know what are you doing, but if you do 3 courses on Lynda or CodeAcademy and they you have the nerve to call yourself a JS developer... Good on you, but you're full of ****.
Rant over...
TL;DR; I kinda had to rant about people slandering JS all the time, while not knowing anything about it or how to proper utilize it. I'm not saying that you don't know, but most people in fact don't, and they're not helping by slandering it.
I tried to learn JavaScript for a couple of months last year following online courses (can't remember which) and about 4 different books.
The courses were not going in the direction I wanted (writing web components), so I tried the books.
Many of the examples in the books simply didn't work.
I did a few of the exercises, and my solutions worked, more or less, but bore almost no resemblance to the solution the book was expecting, so I probably missed the point of the exercises.
I tried going it alone and using intuition, which usually works well, but we were using an alpha framework something from Google at the time and when something broke I had no idea if it was me or the framework, which didn't help.
Not much in JavaScript seemed to make sense, not many of the changes I made to existing scripts had the expected results, and eventually I was moved off onto $ome more important $tuff.
If you've been programming professionally for 8 years, then I have probably been programming professionally since before you were born., and have forgotten more programming languages than most people have known.
My favourite is Python - it is simple, comprehensive, well supported, does almost everything out of the box and there are modules that can be installed for almost anything else, even runs under the JVM in environment where I'm not allowed to install a Python interpreter but a Java runtime is available.
Maybe one day I'll go back to JavaScript, although others in the company have already written the web components, and most of the rest of us are concentrating on migrating to Java anyway.
And I do use vim on a daily basis, and don't mind babies as long as they are somewhere else (mine has grown up a lot now and is approaching teenhood).
A genuine question : is Vim like editor really viable for those who have to work on files in multiple directories? It seems way easier for me to use a GUI to browse and open the file rather than type :b and browse to the file manually.
I think it goes without saying for me: Vim.A genuine question : is Vim like editor really viable for those who have to work on files in multiple directories? It seems way easier for me to use a GUI to browse and open the file rather than type :b and browse to the file manually.
Absolutely, I use a plugin called NERDTRee https://github.com/scrooloose/nerdtree (https://github.com/scrooloose/nerdtree) and it works wonders for projects with lots of subdirectories. You can recursively open directories and quickly search by filename just like any other buffer.
(Attachment Link)
In Vim (not plain Vi) there is some basic file browsing built in as well. Just use "e ." (edit current directory) to open it. You can use CTRL+O like a "back" button to reopen your previous file too.
Deadly?
I think it goes without saying for me: Vim.A genuine question : is Vim like editor really viable for those who have to work on files in multiple directories? It seems way easier for me to use a GUI to browse and open the file rather than type :b and browse to the file manually.
Absolutely, I use a plugin called NERDTRee https://github.com/scrooloose/nerdtree (https://github.com/scrooloose/nerdtree) and it works wonders for projects with lots of subdirectories. You can recursively open directories and quickly search by filename just like any other buffer.
(Attachment Link)
In Vim (not plain Vi) there is some basic file browsing built in as well. Just use "e ." (edit current directory) to open it. You can use CTRL+O like a "back" button to reopen your previous file too.
I recently came across a page about Elastic Tabstops (http://nickgravgaard.com/elastic-tabstops/). There are plugins for a whole slew of text editors.
At first glance, the idea looks really tempting - I see potential for not having to fidget so much with the code I write to make it pretty but I can see how it could be problematic when having to deal with code/users that do not use it.
Are you using it? What do you think of it? Could the idea be improved somehow?
10 year Emacs user here.
Because there's no way I can migrate my ~200K of configuration to any other editor… And since no other editor are configured with Lisp, I don't want to… :p
10 year Emacs user here.
Because there's no way I can migrate my ~200K of configuration to any other editor… And since no other editor are configured with Lisp, I don't want to… :p
That's a lot of configuration :eek:
Does it take long to start up?
there are apparently pretty good vim extensions availableNot a single one.
On Mac OS X I was using TextWrangler, mainly for working with raw data. I only wrote code within the editors contained in Stata and R Studio. Since I've migrated to Ubuntu I've been using Atom to write my code for Stata and R (and learning a little html, css, and js). For any document creation I use TeXstudio, though I see Atom has a package for TeX and I might check that out at some point.
On Mac OS X I was using TextWrangler, mainly for working with raw data. I only wrote code within the editors contained in Stata and R Studio. Since I've migrated to Ubuntu I've been using Atom to write my code for Stata and R (and learning a little html, css, and js). For any document creation I use TeXstudio, though I see Atom has a package for TeX and I might check that out at some point.
For anyone following this, TextWrangler has been put out to pasture, and BBEdit (by the same company) now has a free mode with otherwise pretty much equivalent functionality.
On Mac OS X I was using TextWrangler, mainly for working with raw data. I only wrote code within the editors contained in Stata and R Studio. Since I've migrated to Ubuntu I've been using Atom to write my code for Stata and R (and learning a little html, css, and js). For any document creation I use TeXstudio, though I see Atom has a package for TeX and I might check that out at some point.
For anyone following this, TextWrangler has been put out to pasture, and BBEdit (by the same company) now has a free mode with otherwise pretty much equivalent functionality.
Jeez, I wonder how I missed that development.
sublime.<vim movement command>SVim<esc>
Emacs user here for nearly 17 years now, Spacemacs user for about a year and a half. I'm an Emacs user, because it is the most powerful, most customisable thing, ever. It's not just a text editor, it is an IDE, an IRC client, an Email and RSS feed reader, a music player, and whatever else you can imagine. I live inside Emacs. The only thing I do outside of it, is browsing.
This way, I have all the familiar key bindings, and the full power of Emacs at my fingertips, no matter what I do. It is consistent, powerful, and doesn't care that I have thousands of buffers open. Being able to reach everything, from anywhere, pretty much effortlessly, is an incredible boost to both productivity, and comfort.
I use emacs because of the support for R through ESS mode.
I also like org mode, and the ability to use shells in buffers, and it has nice support for Clojure which I want to learn.
I also like how I can remap keys in init.el.
TextWrangler on the Mac, because it's free and familiar.Because they work well for us :thumb:
Pluma on Ubuntu MATE, because it came with the distro.
Do not understand why anybody today would willingly use CLI-based editors like vim or emacs. From where I sit, those relics from 1970s mainframe environments have been obsolete since about 1985 or so. More than thirty years later, it seems like a lot of people still haven't got the memo.
I like the way that when I encounter a text file in command-line mode, I can get edit it quickly right then and there and then get back to the command line.
Works over SSH as well without having to set up X forwarding.
Earlier this year, I did a pre-study to see how difficult it would be to write my own text editor. I found that you can actually write a text editor in text mode that uses the regular Mac/Windows/Amiga/GNOME/KDE conventions that are used in GUI programs. It could use Shift-<Arrow> to select, and Ctrl+X,C,V shortcuts etc.
It could also take mouse input for controlling menus, and in a modern terminal that supports Unicode, you could do some pretty but basic frames, scrollbars, menus and status bars.
The only real limit that I came across was that text-mode programs can't take Ctrl+Shift+<letter> shortcuts.
What programming language did you use?The programming language does not matter much as long as you can input and output ANSI codes, and Unicode if supported by the current locale. If you write in C (or a derivative), there is the widely supported ncurses library which has abstractions around ANSI codes and can manage a character buffer for full-screen programs.
I wanted to use Rust, as an exercise for learning it but I could not get Rust to work under 32-bit x86 Linux.Why did you need to?
What programming language did you use?The programming language does not matter much as long as you can input and output ANSI codes, and Unicode if supported by the current locale. If you write in C (or a derivative), there is the widely supported ncurses library which has abstractions around ANSI codes and can manage a character buffer for full-screen programs.
I wanted to use Rust, as an exercise to learn it but I could not get Rust to work under 32-bit x86 Linux, so I wrote C++.
Yes you are. Install evil-mode and achieve satori.Emacs user here for nearly 17 years now, Spacemacs user for about a year and a half. I'm an Emacs user, because it is the most powerful, most customisable thing, ever. It's not just a text editor, it is an IDE, an IRC client, an Email and RSS feed reader, a music player, and whatever else you can imagine. I live inside Emacs. The only thing I do outside of it, is browsing.
This way, I have all the familiar key bindings, and the full power of Emacs at my fingertips, no matter what I do. It is consistent, powerful, and doesn't care that I have thousands of buffers open. Being able to reach everything, from anywhere, pretty much effortlessly, is an incredible boost to both productivity, and comfort.
Honest question. I type vim commands in my sleep, been using it for 15 years. But I am looking toward switching to emacs because of consistency in everything and the increased power. What are the benefits in your opinion? But more importantly. How Do I Switch From Vim. I tried reading emacs manual, tried to "simulate" vim as much as possible. Or am I doing it wrong?
Yes you are. Install evil-mode and achieve satori.Emacs user here for nearly 17 years now, Spacemacs user for about a year and a half. I'm an Emacs user, because it is the most powerful, most customisable thing, ever. It's not just a text editor, it is an IDE, an IRC client, an Email and RSS feed reader, a music player, and whatever else you can imagine. I live inside Emacs. The only thing I do outside of it, is browsing.
This way, I have all the familiar key bindings, and the full power of Emacs at my fingertips, no matter what I do. It is consistent, powerful, and doesn't care that I have thousands of buffers open. Being able to reach everything, from anywhere, pretty much effortlessly, is an incredible boost to both productivity, and comfort.
Honest question. I type vim commands in my sleep, been using it for 15 years. But I am looking toward switching to emacs because of consistency in everything and the increased power. What are the benefits in your opinion? But more importantly. How Do I Switch From Vim. I tried reading emacs manual, tried to "simulate" vim as much as possible. Or am I doing it wrong?
But what about UTF-8? Isn't that a ***** in C/C++? Or are there good libraries for that now? Sorry, I'm not an C/C++ expert (I wish I were).That depends on what tradeoffs you have... Unicode and utf-8 is a standard but not particularly user-friendly or safe.
But what about UTF-8? Isn't that a ***** in C/C++? Or are there good libraries for that now? Sorry, I'm not an C/C++ expert (I wish I were).That depends on what tradeoffs you have... Unicode and utf-8 is a standard but not particularly user-friendly or safe.
If all you want to do is support European languages in a character set that the current user has set up in his environment -- and allow that to be utf-8 -- then you can do that with libc: the easiest thing is to setlocale() to make the C library redirect to functions for the current character set; Then convert to/from wchar_t when loading and saving - with internal buffers in 32-bit wchar_t.
If you want to correctly handle right-to-left language text (Hebrew, Arabic), you will have to use an external library to move letters around and you can create a real mess for yourself. Right-to-left text could be confusing in a programmer's text editor though.
There are a bunch of other libraries for C++ that handle utf-8 and Unicode wchar_t in various ways. There is rudimentary utf-8 support in later version of C++ and more in Boost (which is almost standard).
However, I wanted my editor to be binary-safe (https://en.wikipedia.org/wiki/Binary-safe) (with the exception of really long lines) and to validate utf-8 and highlight incorrect/unsafe utf-8 sequences. I did not find any library that did that so I wrote my own. I have not got much further than that though.
Emacs user here for nearly 17 years now, Spacemacs user for about a year and a half. I'm an Emacs user, because it is the most powerful, most customisable thing, ever. It's not just a text editor, it is an IDE, an IRC client, an Email and RSS feed reader, a music player, and whatever else you can imagine. I live inside Emacs. The only thing I do outside of it, is browsing.
This way, I have all the familiar key bindings, and the full power of Emacs at my fingertips, no matter what I do. It is consistent, powerful, and doesn't care that I have thousands of buffers open. Being able to reach everything, from anywhere, pretty much effortlessly, is an incredible boost to both productivity, and comfort.
Honest question. I type vim commands in my sleep, been using it for 15 years. But I am looking toward switching to emacs because of consistency in everything and the increased power. What are the benefits in your opinion? But more importantly. How Do I Switch From Vim. I tried reading emacs manual, tried to "simulate" vim as much as possible. Or am I doing it wrong?
Emacs user here for nearly 17 years now, Spacemacs user for about a year and a half. I'm an Emacs user, because it is the most powerful, most customisable thing, ever. It's not just a text editor, it is an IDE, an IRC client, an Email and RSS feed reader, a music player, and whatever else you can imagine. I live inside Emacs. The only thing I do outside of it, is browsing.
This way, I have all the familiar key bindings, and the full power of Emacs at my fingertips, no matter what I do. It is consistent, powerful, and doesn't care that I have thousands of buffers open. Being able to reach everything, from anywhere, pretty much effortlessly, is an incredible boost to both productivity, and comfort.
Honest question. I type vim commands in my sleep, been using it for 15 years. But I am looking toward switching to emacs because of consistency in everything and the increased power. What are the benefits in your opinion? But more importantly. How Do I Switch From Vim. I tried reading emacs manual, tried to "simulate" vim as much as possible. Or am I doing it wrong?
I tried switching from various vi clones (including Vim) to various versions of emacs several times, but always came back to vi.
emacs was too clunky, commands too awkward, far too steep learning curve. I can't remember how I learned vi, but I seem to recall always liking simple editors like that.
Emacs user here for nearly 17 years now, Spacemacs user for about a year and a half. I'm an Emacs user, because it is the most powerful, most customisable thing, ever. It's not just a text editor, it is an IDE, an IRC client, an Email and RSS feed reader, a music player, and whatever else you can imagine. I live inside Emacs. The only thing I do outside of it, is browsing.
This way, I have all the familiar key bindings, and the full power of Emacs at my fingertips, no matter what I do. It is consistent, powerful, and doesn't care that I have thousands of buffers open. Being able to reach everything, from anywhere, pretty much effortlessly, is an incredible boost to both productivity, and comfort.
Honest question. I type vim commands in my sleep, been using it for 15 years. But I am looking toward switching to emacs because of consistency in everything and the increased power. What are the benefits in your opinion? But more importantly. How Do I Switch From Vim. I tried reading emacs manual, tried to "simulate" vim as much as possible. Or am I doing it wrong?
I tried switching from various vi clones (including Vim) to various versions of emacs several times, but always came back to vi.
emacs was too clunky, commands too awkward, far too steep learning curve. I can't remember how I learned vi, but I seem to recall always liking simple editors like that.
Yeah, I have the same experience. But then, in the beginning with vim I was like "where is the just type stuff in mode gone? why doesn't text appear?" So I would be up to a period of not knowing what to do until I do. But so far, I couldn't get past that point.
Emacs user here for nearly 17 years now, Spacemacs user for about a year and a half. I'm an Emacs user, because it is the most powerful, most customisable thing, ever. It's not just a text editor, it is an IDE, an IRC client, an Email and RSS feed reader, a music player, and whatever else you can imagine. I live inside Emacs. The only thing I do outside of it, is browsing.
This way, I have all the familiar key bindings, and the full power of Emacs at my fingertips, no matter what I do. It is consistent, powerful, and doesn't care that I have thousands of buffers open. Being able to reach everything, from anywhere, pretty much effortlessly, is an incredible boost to both productivity, and comfort.
Honest question. I type vim commands in my sleep, been using it for 15 years. But I am looking toward switching to emacs because of consistency in everything and the increased power. What are the benefits in your opinion? But more importantly. How Do I Switch From Vim. I tried reading emacs manual, tried to "simulate" vim as much as possible. Or am I doing it wrong?
I tried switching from various vi clones (including Vim) to various versions of emacs several times, but always came back to vi.
emacs was too clunky, commands too awkward, far too steep learning curve. I can't remember how I learned vi, but I seem to recall always liking simple editors like that.
Yeah, I have the same experience. But then, in the beginning with vim I was like "where is the just type stuff in mode gone? why doesn't text appear?" So I would be up to a period of not knowing what to do until I do. But so far, I couldn't get past that point.
I've used a lot of odd editors over the years, including TDP, sol and ne.
sol had a feature where you could type a double-quote (iirc) and it would copy the character on the line above the cursor into the current line. Hours (well, many minutes) were spent in idle contemplation with the " key presed down copying character after character, line after line.
I have not found another editor with the same command ...
... until today, where I accidentally pressed some keys in Eclipse and it copied the current line, which is close enough.
Turns out it was Option-Command-down arrow (on Mac).
Spent a good few minutes copying lines and giggline :D
Emacs user here for nearly 17 years now, Spacemacs user for about a year and a half. I'm an Emacs user, because it is the most powerful, most customisable thing, ever. It's not just a text editor, it is an IDE, an IRC client, an Email and RSS feed reader, a music player, and whatever else you can imagine. I live inside Emacs. The only thing I do outside of it, is browsing.
This way, I have all the familiar key bindings, and the full power of Emacs at my fingertips, no matter what I do. It is consistent, powerful, and doesn't care that I have thousands of buffers open. Being able to reach everything, from anywhere, pretty much effortlessly, is an incredible boost to both productivity, and comfort.
Honest question. I type vim commands in my sleep, been using it for 15 years. But I am looking toward switching to emacs because of consistency in everything and the increased power. What are the benefits in your opinion? But more importantly. How Do I Switch From Vim. I tried reading emacs manual, tried to "simulate" vim as much as possible. Or am I doing it wrong?
I tried switching from various vi clones (including Vim) to various versions of emacs several times, but always came back to vi.
emacs was too clunky, commands too awkward, far too steep learning curve. I can't remember how I learned vi, but I seem to recall always liking simple editors like that.
Yeah, I have the same experience. But then, in the beginning with vim I was like "where is the just type stuff in mode gone? why doesn't text appear?" So I would be up to a period of not knowing what to do until I do. But so far, I couldn't get past that point.
I've used a lot of odd editors over the years, including TDP, sol and ne.
sol had a feature where you could type a double-quote (iirc) and it would copy the character on the line above the cursor into the current line. Hours (well, many minutes) were spent in idle contemplation with the " key presed down copying character after character, line after line.
I have not found another editor with the same command ...
... until today, where I accidentally pressed some keys in Eclipse and it copied the current line, which is close enough.
Turns out it was Option-Command-down arrow (on Mac).
Spent a good few minutes copying lines and giggline :D
I guess you could do that in vim or emacs. Get cursor position, get character at that line from line above, and paste character on current line.
But really.. what is the purpose of literally copying one character? It is an interesting feature... I've never heard such a thing.
Did you guys (at least for those who know how to type without looking at the keyboard, which I take is all of you but here it's a requirement: you cannot use that feature without touch-typing) ever seen vim's "easy motion" or emacs' "ace-jump-mode" or "avy" in action?
What if I tell you it's the biggest single efficiency boost you'll ever get for "moving the cursor around" and "jumping to a character visually on screen"?
You can basically jump to any visible character on screen in "shortcut + 2 or 3 keypress": shortcut to invoke "easy motion" or "ace-jump/avy" (or the equivalent in your editor), keypress the character you want to jump to do, then either one or two keypresses depending on how many times that character appears on screen.
It's the one shortcut I use the most. I use it all the time. Nothing beats that, nothing comes even close to it.
I never ever demo'ed in real-life to someone who then didn't make the switch:
The only thing to remember is "keep you eyes looking at where you want to move the cursor to". Two minutes explanation/demo from an Emacs guru:
P.S: as it is the most efficient way of moving the cursor around on screen, it was of course invented by some vim user ; )
H L MDid you guys (at least for those who know how to type without looking at the keyboard, which I take is all of you but here it's a requirement: you cannot use that feature without touch-typing) ever seen vim's "easy motion" or emacs' "ace-jump-mode" or "avy" in action?
What if I tell you it's the biggest single efficiency boost you'll ever get for "moving the cursor around" and "jumping to a character visually on screen"?
You can basically jump to any visible character on screen in "shortcut + 2 or 3 keypress": shortcut to invoke "easy motion" or "ace-jump/avy" (or the equivalent in your editor), keypress the character you want to jump to do, then either one or two keypresses depending on how many times that character appears on screen.
It's the one shortcut I use the most. I use it all the time. Nothing beats that, nothing comes even close to it.
I never ever demo'ed in real-life to someone who then didn't make the switch:
The only thing to remember is "keep you eyes looking at where you want to move the cursor to". Two minutes explanation/demo from an Emacs guru:
P.S: as it is the most efficient way of moving the cursor around on screen, it was of course invented by some vim user ; )
I have tried to get used to it, but it doesn't work for me. Because the key you have to press changes everytime, as it uses the letters of next words / paragraphs.
It would be better if there was a plugin that allows you to go down/up 10..50%...70%, with predetermined keys, and then a visual indication where it would bring you, perhaps attached to beginnings of words / sentences / paragraphs / code blocks.
H L MDid you guys (at least for those who know how to type without looking at the keyboard, which I take is all of you but here it's a requirement: you cannot use that feature without touch-typing) ever seen vim's "easy motion" or emacs' "ace-jump-mode" or "avy" in action?
What if I tell you it's the biggest single efficiency boost you'll ever get for "moving the cursor around" and "jumping to a character visually on screen"?
You can basically jump to any visible character on screen in "shortcut + 2 or 3 keypress": shortcut to invoke "easy motion" or "ace-jump/avy" (or the equivalent in your editor), keypress the character you want to jump to do, then either one or two keypresses depending on how many times that character appears on screen.
It's the one shortcut I use the most. I use it all the time. Nothing beats that, nothing comes even close to it.
I never ever demo'ed in real-life to someone who then didn't make the switch:
The only thing to remember is "keep you eyes looking at where you want to move the cursor to". Two minutes explanation/demo from an Emacs guru:
P.S: as it is the most efficient way of moving the cursor around on screen, it was of course invented by some vim user ; )
I have tried to get used to it, but it doesn't work for me. Because the key you have to press changes everytime, as it uses the letters of next words / paragraphs.
It would be better if there was a plugin that allows you to go down/up 10..50%...70%, with predetermined keys, and then a visual indication where it would bring you, perhaps attached to beginnings of words / sentences / paragraphs / code blocks.
Ctrl+d - move down half a page
Ctrl+u - move up half a page
H - Jump to the top of the screen.
M - Jump to the middle of the screen.
L - Jump to the bottom of the screen.
I have noticed that page up/page down behaviour differs a lot between text-mode editors, and sometimes between GUI-based editors as well.
On şe olde Amiga, the style guide mandated that the cursor would first jump to the top/bottom of the screen (unless already there) and then scroll a page on a second press -- you have the functionality of H and L in vi but not the same behaviour.
Most GUI-based editors on Windows (and now on Unix/Linux) scroll the window while keeping the cursor position on the same screen position.
Emacs has the weirdest behaviour: if you press Page Down, the window scrolls down and the cursor is moved to the top, but if you then press Page Up, the window scrolls one page up but the cursor says put on the same line!
Some editors literally scroll a whole viewport down/above, which is confusing for me.I'm sorry, I omitted that most editors scroll at least one line less than a whole viewport. Sometimes, the "top of the viewport" is one or more lines down and if you then press up the cursor will not reach the top of the viewport unless it is at the top of the document. But as many as 10 lines is a bit unusual...
Some editors literally scroll a whole viewport down/above, which is confusing for me.I'm sorry, I omitted that most editors scroll at least one line less than a whole viewport. Sometimes, the "top of the viewport" is one or more lines down and if you then press up the cursor will not reach the top of the viewport unless it is at the top of the document. But as many as 10 lines is a bit unusual...
There are some rare programs that when you jump a "page" (which is smaller than a full page), draws a line indicating where the viewport's border was before the jump. But the line does not remain - it fades away after a second or two.
I use BBEdit on Mac now since TextWrangler was discontinued.
BBEdit 12 was recently released, with a default dark theme.
I kinda like dark themes, so this sits well with me.
I use vim because I like to keep my hands on the home row. I don't think there's a huge difference in ergonomy or productivity compared to moving one hand between the keyboard and mouse all the time but it feels more relaxing not being forced to. In addition i use i3 with movement remapped to hjkl, VimiumFF for Firefox, Vrapper for Eclipse and zsh with vim bindings so my most used applications are controlled in an (almost) uniform way. I also use less a lot and that also has vim-like controls.
More precisely it's neovim because I read that it was better than regular vim and I use SpaceVim to get lots of nice plugins and stuff without having to dig too deep into that myself
neovim is not a re-implementation. It is a fork.
Neovim is meant as are-implementationfork of the "standard" implementation of vim by Bram Moolenaar, which the major aims to (1) ensure continuity when Bram gets hit by a bus, (2) get rid of old bloat, like "spaghetti code" to have support for legacy platforms like the Amiga, and (3) to allow concurrent and non-blocking plugins via a new messaging platform.
Neovim is not feature-complete AFAIK, but is getting there rather quickly. There are already some interesting plugins for it.
What I hope that neovim will gain in the future is a proper REPL for things like latex, R, python, and lisp.
EDIT: neovim is a fork, not a re-implementation.
Neovim is meant as are-implementationfork of the "standard" implementation of vim by Bram Moolenaar, which the major aims to (1) ensure continuity when Bram gets hit by a bus, (2) get rid of old bloat, like "spaghetti code" to have support for legacy platforms like the Amiga, and (3) to allow concurrent and non-blocking plugins via a new messaging platform.
Neovim is not feature-complete AFAIK, but is getting there rather quickly. There are already some interesting plugins for it.
What I hope that neovim will gain in the future is a proper REPL for things like latex, R, python, and lisp.
EDIT: neovim is a fork, not a re-implementation.
(2) and (3) is what I read and it sounded like an improvement to me, though I've also heard good things about Vim 8.
I have tried to get used to it, but it doesn't work for me. Because the key you have to press changes everytime, as it uses the letters of next words / paragraphs.
There are some rare programs that when you jump a "page" (which is smaller than a full page), draws a line indicating where the viewport's border was before the jump. But the line does not remain - it fades away after a second or two.
QuoteI have tried to get used to it, but it doesn't work for me. Because the key you have to press changes everytime, as it uses the letters of next words / paragraphs.
That's how it works and it's because you very probably didn't do it correctly when you tried it: the trick is to keep your eyes precisely on the letter you want to jump to, say a 't'. Then you invoke ace-jump/avy/easymotion and you hit 't', all the while looking precisely at the 't' you want to go to. Then you immediately type the letter that appears (temporarily) where the 't' was!
There are some rare programs that when you jump a "page" (which is smaller than a full page), draws a line indicating where the viewport's border was before the jump. But the line does not remain - it fades away after a second or two.
Interesting. The Amiga explanation is great too (oh I miss those Amiga days).
Of course in Emacs everything is configurable so any behavior can be configured. For example there's even a "smooth scrolling" option that scrolls like some old editors used to do (don't remember which one but Sublime scrolls like that): basically like when you scroll up and down in a webpage... Instead of "jumping at once", the thing "scrolls": complete with progressive acceleration and deceleration. And it's not just a fake smooth-scrolling using line by line scrolling: it's moving vertically by "pixels", not whole lines. In Emacs the package is called sublimity and sublimity-scroll.
I use BBEdit on Mac now since TextWrangler was discontinued.
BBEdit 12 was recently released, with a default dark theme.
I kinda like dark themes, so this sits well with me.
I used bbedit on macos 7/8. Aahh.. the nostalgia.
This thread was made for me. I know its been said before but... emacs 100%. I could go on about its amazing uses, but instead I'll sum up my editors in one photo.Show Image(https://i.redd.it/64d7abzb65lz.jpg)
Everyone I work with thinks I'm nuts, and should switch to Sublime to net beans/jet brains/or whatever... but I couldn't imagine developing outside of my emacs config.
This thread was made for me. I know its been said before but... emacs 100%. I could go on about its amazing uses, but instead I'll sum up my editors in one photo.Show Image(https://i.redd.it/64d7abzb65lz.jpg)
Everyone I work with thinks I'm nuts, and should switch to Sublime to net beans/jet brains/or whatever... but I couldn't imagine developing outside of my emacs config.
The thing that keeps me away from emacs, speaking as a novice, is that it seems like it's both complicated to learn and requires a lot of setup to make it great (though that requires learning first).
This thread was made for me. I know its been said before but... emacs 100%. I could go on about its amazing uses, but instead I'll sum up my editors in one photo.Show Image(https://i.redd.it/64d7abzb65lz.jpg)
Everyone I work with thinks I'm nuts, and should switch to Sublime to net beans/jet brains/or whatever... but I couldn't imagine developing outside of my emacs config.
Of course.This thread was made for me. I know its been said before but... emacs 100%. I could go on about its amazing uses, but instead I'll sum up my editors in one photo.Show Image(https://i.redd.it/64d7abzb65lz.jpg)
Everyone I work with thinks I'm nuts, and should switch to Sublime to net beans/jet brains/or whatever... but I couldn't imagine developing outside of my emacs config.
so VIM is still the best text editor? ;)
Of course.This thread was made for me. I know its been said before but... emacs 100%. I could go on about its amazing uses, but instead I'll sum up my editors in one photo.Show Image(https://i.redd.it/64d7abzb65lz.jpg)
Everyone I work with thinks I'm nuts, and should switch to Sublime to net beans/jet brains/or whatever... but I couldn't imagine developing outside of my emacs config.
so VIM is still the best text editor? ;)
Of course.This thread was made for me. I know its been said before but... emacs 100%. I could go on about its amazing uses, but instead I'll sum up my editors in one photo.Show Image(https://i.redd.it/64d7abzb65lz.jpg)
Everyone I work with thinks I'm nuts, and should switch to Sublime to net beans/jet brains/or whatever... but I couldn't imagine developing outside of my emacs config.
so VIM is still the best text editor? ;)
I take "basic text editor" to mean "on the fly edits in a remote environment". I would say that emacs is beyond a basic editor. But yeah, vim is hot for some good ole' config tweaks imo.
I've been evaluating Sublime Text recently (on macOS).
It seems reasonable, but suffers the two issues that most modern editors have - an overly complex multi-step find dialog, and moving to the start of the next word actually moves to the end of the current word.
The first issue is an inconvenience, the second one throws out my auto-pilot code navigation techniques nearly every time.
Often I just open iTerm2 and start vim instead.
One day I might get around to writing my own editor. Again.
try/catch in imports? what the ****
I can show you my arse.