Author Topic: Your Preferred Text Editor  (Read 41393 times)

0 Members and 1 Guest are viewing this topic.

Offline jaymatter

  • Posts: 32
  • Location: Kelowna, BC, Canada
Re: Your Preferred Text Editor
« Reply #200 on: Sat, 07 December 2013, 13:16:43 »
Vim and my Ergodox go well together for me. I'll also give tmux a shout out because it saves me so much time when moving between home and office.  :))
« Last Edit: Sat, 07 December 2013, 13:30:28 by jaymatter »

Offline iri

  • Posts: 997
  • Location: England
Re: Your Preferred Text Editor
« Reply #201 on: Sat, 07 December 2013, 14:22:52 »
As others have said, its common to 'imap' jj or something similar to escape (I use 'jk' myself)

If you use the program keyremap4macbook (I think that is what its called) you can do the following:

bind caps lock to ctrl (skip if you have hardware hhkb)
search for "Control_L to Control_L" in the program, there is a setting that, when toggled, will send esc on key up if no other keys were pressed, or normal ctrl when pressed with any other keys.

I use this on my macbook, caps lock is much easier to access than control.
caps lock is certainly of course mapped to control on all my machines. i wonder why not everyone more or less geeky does that. when i go help a colleague and use their keyboard and it happens to be a logitech k120 with caps lock as caps lock, i tell them i want to smash their head with an axe. then they actually ask me to do the remapping.

thank for sharing your idea on caps lock as esc in mac os. it is convenient. though i think implementing this in linux would be a bit harder.
(...)Whereas back then I wrote about the tyranny of the majority, today I'd combine that with the tyranny of the minorities. These days, you have to be careful of both. They both want to control you. The first group, by making you do the same thing over and over again. The second group is indicated by the letters I get from the Vassar girls who want me to put more women's lib in The Martian Chronicles, or from blacks who want more black people in Dandelion Wine.
I say to both bunches, Whether you're a majority or minority, bug off! To hell with anybody who wants to tell me what to write. Their society breaks down into subsections of minorities who then, in effect, burn books by banning them. All this political correctness that's rampant on campuses is b.s.

-Ray Bradbury

Offline 1pq

  • Posts: 669
  • Location: East Coast USA
  • Hipster Doofus
Re: Your Preferred Text Editor
« Reply #202 on: Sat, 07 December 2013, 16:00:27 »
For any Mac users looking for a good free text editor akin to notebook++, check out TextWrangler. https://itunes.apple.com/us/app/textwrangler/id404010395

I much prefer sublime text. I have yet to see any other text editor running on OS X outside of the terminal that has so much power and flexibility. Although it's not free, you can keep using the unregistered version with all of the features enabled indefinitely. Soon enough, however, you'll like it so much that you'll want to pay the developer! (At least that's what happened for me :D )
main kbs:  87UB (55g)  Custom Filco TKL (62g clears)

WTS JD40, Custom Ergoclear Filco

WTB ROHS Red BBv2 (Topre), OG EK Tri-Color Skull (TOPRE)

Offline jmchargue

  • Posts: 68
  • Location: Boulder, CO
Re: Your Preferred Text Editor
« Reply #203 on: Sat, 07 December 2013, 16:32:00 »
Checking in for Vim.

I mapped Esc to kj, and escape and write to lkj. There's a nice little rhythm to saving things :)

Offline iri

  • Posts: 997
  • Location: England
Re: Your Preferred Text Editor
« Reply #204 on: Sun, 08 December 2013, 12:18:23 »
my save is mapped to ,s
(...)Whereas back then I wrote about the tyranny of the majority, today I'd combine that with the tyranny of the minorities. These days, you have to be careful of both. They both want to control you. The first group, by making you do the same thing over and over again. The second group is indicated by the letters I get from the Vassar girls who want me to put more women's lib in The Martian Chronicles, or from blacks who want more black people in Dandelion Wine.
I say to both bunches, Whether you're a majority or minority, bug off! To hell with anybody who wants to tell me what to write. Their society breaks down into subsections of minorities who then, in effect, burn books by banning them. All this political correctness that's rampant on campuses is b.s.

-Ray Bradbury

Offline ch_123

  • * Exalted Elder
  • Posts: 5860
Re: Your Preferred Text Editor
« Reply #205 on: Sun, 08 December 2013, 12:23:14 »
Mainly vim. I also use Sublime every once in a while

Offline jeffgran

  • Posts: 126
  • Location: Denver
Re: Your Preferred Text Editor
« Reply #206 on: Sun, 08 December 2013, 12:36:27 »
Emacs, the One True Operating System.

Constantly tweaking. Config lives here: https://github.com/zachallaun/emacs-config

^ This. Mine is here: https://github.com/jeffgran/my-emacs

Offline eisenhower

  • Posts: 32
Re: Your Preferred Text Editor
« Reply #207 on: Tue, 10 December 2013, 16:14:21 »
After a long vim session I find k's and j's all over whatever non-vim document I'm working on

Offline jeffgran

  • Posts: 126
  • Location: Denver
Re: Your Preferred Text Editor
« Reply #208 on: Tue, 10 December 2013, 21:19:27 »
After a long vim session I find k's and j's all over whatever non-vim document I'm working on

LOL.

Btw, that doesn't happen with emacs navigation commands. :) In fact, many of the basic emacs navigation commands work by default in the terminal and in most OSX (maybe linux too?) text boxes/windows.

Offline nuclearsandwich

  • Posts: 752
  • Location: Santa Clara Valley, CA
Re: Your Preferred Text Editor
« Reply #209 on: Tue, 10 December 2013, 21:23:11 »
After a long vim session I find k's and j's all over whatever non-vim document I'm working on

LOL.

Btw, that doesn't happen with emacs navigation commands. :) In fact, many of the basic emacs navigation commands work by default in the terminal and in most OSX (maybe linux too?) text boxes/windows.

The emacs bindings are all over the place in OS X because they're part of the native text widgets. This is not the case by default in any of the primary toolkits on Linux and Chrome on OS X explicitly turns them off. People who write software can be such jerks.

Offline mreverything

  • Posts: 22
  • Location: MA/NY/UT/BRAZIL
Re: Your Preferred Text Editor
« Reply #210 on: Tue, 10 December 2013, 21:54:11 »
One more for TextWrangler on OS X. I don't really use it for coding, but I write just about everything in it, then convert using pandoc. Starting to learn vim, but I'll probably stick to TextWrangler and iTerm for now.

But seriously, whether you use Vim, Emacs, TextMate or TextWrangler, three cheers for the Solarized color palette!

Offline nuclearsandwich

  • Posts: 752
  • Location: Santa Clara Valley, CA
Re: Your Preferred Text Editor
« Reply #211 on: Tue, 10 December 2013, 22:19:46 »
But seriously, whether you use Vim, Emacs, TextMate or TextWrangler, three cheers for the Solarized color palette!

Have you seen the spherical keyset group buy based on the Solarized palette?

Offline angelic_sedition

  • Posts: 124
  • Location: Flatland
Re: Your Preferred Text Editor
« Reply #212 on: Wed, 11 December 2013, 00:29:42 »
Unite has been making the rounds among vim nerds at my workplace.  I need to check it out still, but it looks pretty cool.

"I love ctrl-p but it is so last year."

For people that are using an old editor they sure do like the latest plugins.

Hey it's not like vim is abandonware or anything, and unite is pretty awesome :D

i think that using the esc key to go to normal mode in vim is a bad idea. just sayin'. not that anyone cares.
Well like mooswa said, you can just remap it to anything you want. I still use escape, but I've mapped caps+s or w in the past to esc.

Others have suggested jj, jk, etc, but two keys in a row is too much for something that's used so frequently as far as I'm concerned.

As others have said, its common to 'imap' jj or something similar to escape (I use 'jk' myself)

If you use the program keyremap4macbook (I think that is what its called) you can do the following:

bind caps lock to ctrl (skip if you have hardware hhkb)
search for "Control_L to Control_L" in the program, there is a setting that, when toggled, will send esc on key up if no other keys were pressed, or normal ctrl when pressed with any other keys.

I use this on my macbook, caps lock is much easier to access than control.
caps lock is certainly of course mapped to control on all my machines. i wonder why not everyone more or less geeky does that. when i go help a colleague and use their keyboard and it happens to be a logitech k120 with caps lock as caps lock, i tell them i want to smash their head with an axe. then they actually ask me to do the remapping.

thank for sharing your idea on caps lock as esc in mac os. it is convenient. though i think implementing this in linux would be a bit harder.
I wonder why people would just settle with control as opposed to an entirely new layer :P Implementing that on linux is actually very easy with xmodmap or xkb (I'm on linux with heavy remappings), though I'm not sure how easy it would be to have a different output based on whether or not other keys are pressed at the same time. I'll probably try it when I get the time. There aren't really enough remapping options to satisfy me on any os at the moment.


Also, am I the only one who hates solarized?
QWERTY(104wpm) -> CarpalxQ(modded) -> Colemak(118wpm) -> Colemak-DH
Mouse less.

Offline iri

  • Posts: 997
  • Location: England
Re: Your Preferred Text Editor
« Reply #213 on: Wed, 11 December 2013, 04:58:24 »
I wonder why people would just settle with control as opposed to an entirely new layer
because they want a control key and not an entirely new layer.

Implementing that on linux is actually very easy with xmodmap or xkb (I'm on linux with heavy remappings), though I'm not sure how easy it would be to have a different output based on whether or not other keys are pressed at the same time.
in other words, you have no idea about how to implement that.
(...)Whereas back then I wrote about the tyranny of the majority, today I'd combine that with the tyranny of the minorities. These days, you have to be careful of both. They both want to control you. The first group, by making you do the same thing over and over again. The second group is indicated by the letters I get from the Vassar girls who want me to put more women's lib in The Martian Chronicles, or from blacks who want more black people in Dandelion Wine.
I say to both bunches, Whether you're a majority or minority, bug off! To hell with anybody who wants to tell me what to write. Their society breaks down into subsections of minorities who then, in effect, burn books by banning them. All this political correctness that's rampant on campuses is b.s.

-Ray Bradbury

Offline mreverything

  • Posts: 22
  • Location: MA/NY/UT/BRAZIL
Re: Your Preferred Text Editor
« Reply #214 on: Wed, 11 December 2013, 06:37:49 »
Have you seen the spherical keyset group buy based on the Solarized palette?

I have. It looks so smart. One of first non-otaku sets I'm excited about. 4 days left!

Offline nullstring

  • Posts: 267
Re: Your Preferred Text Editor
« Reply #215 on: Wed, 11 December 2013, 07:34:42 »
gvim/vim for the bulk of my edits.
I also use notepad++ and sublime text sometimes.

Offline nullstring

  • Posts: 267
Re: Your Preferred Text Editor
« Reply #216 on: Wed, 11 December 2013, 07:40:00 »
nevermind, got it.

Offline yakitysax

  • Posts: 51
Re: Your Preferred Text Editor
« Reply #217 on: Wed, 11 December 2013, 14:51:30 »
Sure it's "old", but it's still under regular maintenance, and very active plugin development.
I think "regular maintenance" is selling short how active the developer mailing list (https://groups.google.com/forum/?fromgroups#!forum/vim_dev) is. Probably the most significant user facing changes from 7.3 to 7.4 (of which there were over 1100 commits) were the new regex engine, a new optional tweak of the how relative line number behaves (absolute at point, relative around point), and a more comprehensive Python API for writing Vim plugins. Vim's still evolving, and an eventual Python API that is on par with vimscript will be game changing for greater community involvement.

One tweak I made on my personal setup was to overload my capslock key to act as control when used as a modifier and escape otherwise, which in retrospect was something obvious to do but had no occurred to me to overload keys in that way before.

Steve Losh's article on making a Modern Space Cadet turned me onto not only doing that but also overloading other keys that the idea was applicable to (http://stevelosh.com/blog/2012/10/a-modern-space-cadet/), which in my case was Backspace and Enter.
« Last Edit: Wed, 11 December 2013, 15:00:36 by yakitysax »

Offline hashbaz

  • Grand Ancient One
  • * Moderator Emeritus
  • Posts: 5057
  • Location: SF Bae Area
Re: Your Preferred Text Editor
« Reply #218 on: Wed, 11 December 2013, 15:10:11 »
I've been using vim daily for 6 years with no large new core features.  Internal improvements and minor tweaks are great -- but I would call that maintenance.  That's not a criticism; I think vim's feature set is at a great local maximum.  There's always more stuff you can add, but it's extremely usable as-is.

Making vim properly embedable in larger environments springs to mind as a large user-facing feature I'd like to see, and would strike a workable balance between the IDE faction and the text editor faction.
« Last Edit: Wed, 11 December 2013, 15:12:35 by hashbaz »

Offline angelic_sedition

  • Posts: 124
  • Location: Flatland
Re: Your Preferred Text Editor
« Reply #219 on: Wed, 11 December 2013, 18:11:08 »
I wonder why people would just settle with control as opposed to an entirely new layer
because they want a control key and not an entirely new layer.

Implementing that on linux is actually very easy with xmodmap or xkb (I'm on linux with heavy remappings), though I'm not sure how easy it would be to have a different output based on whether or not other keys are pressed at the same time.
in other words, you have no idea about how to implement that.

;) Why not have both? And have you considered that maybe some people want the capslock key? It's a matter of preference.


Well it depends on exactly what you want to implement. Simply switching caps to escape or control would be simple. In other words, I don't know how easy it would be to do both (exactly as I said). I do know how you would go about trying it. You might be able to do it just by using xdotool to send escape on keyup and then bind it with something like xbindkeys or sxhkd. I haven't tested it though. I don't find the feature particularly enticing. Alternatively, for this behaviour just in vim, you could just map control to escape in insert mode and then still use control normally in normal mode if you needed it for something.

Edit: Above causes no accidental escapes, but I decided to look into it. And it took me about ten minutes to find xcape among other programs that add the same functionality, so yes, it is easy. If you have caps set up as Control_L with xmodmap: "xcape -e "Control_L=Escape"
« Last Edit: Wed, 22 January 2014, 15:13:19 by angelic_sedition »
QWERTY(104wpm) -> CarpalxQ(modded) -> Colemak(118wpm) -> Colemak-DH
Mouse less.

Offline TacticalCoder

  • Posts: 526
Re: Your Preferred Text Editor
« Reply #220 on: Fri, 13 December 2013, 11:01:36 »
I wonder why people would just settle with control as opposed to an entirely new layer :p Implementing that on linux is actually very easy with xmodmap or xkb (I'm on linux with heavy remappings),...

Same here... Heavy remapping on my HHKB Pro2, using the key at the left and right of the spacebar as separate modifiers (one is Alt, the other is a new modifier). Then I only use "modifier + key that you can reach without your pinky": so I can hit my new modifier with my thumb and have a new layer that is "pinky friendly" by, well, never requiring the pinkies  :)

In addition to heavily remapping my keyboard I did also completely remap Emacs (I think the default Emacs shortcuts are simply insane) and several Emacs mode too.  For example ace-jump-mode which I use all the time: I've configured it to only use strong fingers and never requiring characters that would need to be typed by the pinkies (so I removed a few letters, but I added 2,3,4 and 7,8,9, which I touch-type).

Now I ordered Hasu's "alternative controller" for the HHKB Pro 2 so that I can do all my key remappings and layering directly at the "keyboard level", without the OS having any say in the matter (which I think in the end shall prove more convenient than xmodmap / xkb).



HHKB Pro JP (daily driver) -- HHKB Pro 2 -- Industrial IBM Model M 1395240-- NIB Cherry MX 5000 - IBM Model M 1391412 (Swiss QWERTZ) -- IBM Model M 1391403 (German QWERTZ) * 2 -- IBM Model M Ambra -- Black IBM Model M M13 -- IBM Model M 1391401 -- IBM Model M 139? ? ? *2 -- Dell AT102W -- Ergo (split) SmartBoard (white ALPS apparently)

Offline domoaligato

  • * Exquisite Elder
  • Posts: 1672
  • Location: USA
  • All your base are belong to us!
    • All your base are belong to us!
Re: Your Preferred Text Editor
« Reply #221 on: Fri, 13 December 2013, 11:21:41 »
I love Notepad++
just make sure you get the plugins you need. it has all the features of any licensed alternatives if you download all the plugins you need.

Offline iri

  • Posts: 997
  • Location: England
Re: Your Preferred Text Editor
« Reply #222 on: Fri, 13 December 2013, 13:13:06 »
ironically, two best text editors are free.
(...)Whereas back then I wrote about the tyranny of the majority, today I'd combine that with the tyranny of the minorities. These days, you have to be careful of both. They both want to control you. The first group, by making you do the same thing over and over again. The second group is indicated by the letters I get from the Vassar girls who want me to put more women's lib in The Martian Chronicles, or from blacks who want more black people in Dandelion Wine.
I say to both bunches, Whether you're a majority or minority, bug off! To hell with anybody who wants to tell me what to write. Their society breaks down into subsections of minorities who then, in effect, burn books by banning them. All this political correctness that's rampant on campuses is b.s.

-Ray Bradbury

Offline 1pq

  • Posts: 669
  • Location: East Coast USA
  • Hipster Doofus
Re: Your Preferred Text Editor
« Reply #223 on: Fri, 13 December 2013, 20:16:19 »
on the mac: sublime text 3
everywhere else: vim

Thank god, someone else who has seen the light.
<3 sublime
main kbs:  87UB (55g)  Custom Filco TKL (62g clears)

WTS JD40, Custom Ergoclear Filco

WTB ROHS Red BBv2 (Topre), OG EK Tri-Color Skull (TOPRE)

Offline TacticalCoder

  • Posts: 526
Re: Your Preferred Text Editor
« Reply #224 on: Sat, 14 December 2013, 10:35:13 »
Thank god, someone else who has seen the light.

Ah, that's it: now god comes in.  It's official: the editors war becomes... Religious!  :p

You can pry my Emacs from my cold dead hands, you pagans!  ;D

Btw I know that Emacs can do arbitrary computation (any computation, as in "using elisp") directly in substitution strings and that vim certainly can do computation in substitution strings. What about other editors? Is this something they can do too? (this is not a stab: I'm genuinely curious)

This thread lacks animated .gifs about our preferred text editors...

Complains (say about color scheme or font -- btw, it's a pixel-perfect font and the .gif is correct but for whatever resizing reason when inlined in GH the .gif is stretched and becomes all blurry... whatever) and hate can be safely sent to /dev/null :

47976-0

I did use vr/replace instead of replace-regexp to show the grouping / replacement.

Basically in the replacement string:

Code: [Select]
\,(+ \#2 (* 60 \#1))
\#2 and \#1 are references to the regexp group (which, in this case, transform minutes:seconds into seconds) and
Code: [Select]
\,(...) is the real magic: you can put any elisp code you want in here. Here it's just simple arithmetic but you can really do anything you want.

This is from a recent question on SO about how to use vim to do such a thing. Someone posted a 22 keystrokes (!) version using Emacs.

The video is recorded using ffmpeg from a shell running... Inside Emacs! (I made the window tiny to be nice with GH's bandwith).

As far I know the text editor in big IDEs are very, very limited which is why I welcome project like eclim and emacs-eclim which allow to use vim or Emacs as your text editor and Eclipse as the server... If only the same existed for IntelliJ IDEA (I know there's at least one such project going on). Maybe that in ten years we'll have something like Grok (from Google / Steve Yegge) catching on and we'll be able to use the editor we want within any IDE (Grok is about much more than that but it should have the benefit of being usable as a back-end for the editor we want as I understand it).
« Last Edit: Sat, 14 December 2013, 10:38:02 by TacticalCoder »
HHKB Pro JP (daily driver) -- HHKB Pro 2 -- Industrial IBM Model M 1395240-- NIB Cherry MX 5000 - IBM Model M 1391412 (Swiss QWERTZ) -- IBM Model M 1391403 (German QWERTZ) * 2 -- IBM Model M Ambra -- Black IBM Model M M13 -- IBM Model M 1391401 -- IBM Model M 139? ? ? *2 -- Dell AT102W -- Ergo (split) SmartBoard (white ALPS apparently)

Offline yakitysax

  • Posts: 51
Re: Your Preferred Text Editor
« Reply #225 on: Wed, 18 December 2013, 08:34:46 »
As far I know the text editor in big IDEs are very, very limited which is why I welcome project like eclim and emacs-eclim which allow to use vim or Emacs as your text editor and Eclipse as the server... If only the same existed for IntelliJ IDEA (I know there's at least one such project going on). Maybe that in ten years we'll have something like Grok (from Google / Steve Yegge) catching on and we'll be able to use the editor we want within any IDE (Grok is about much more than that but it should have the benefit of being usable as a back-end for the editor we want as I understand it).
Being able to use real Emacs like one can with eclim with IDEA would be amazing. I am glad other editors exist though to inspire new ideas for absorbing into emacs and vim; snippets were popularized by textmate for instance, sublime text popularized fuzzy matching/multiple cursors, and sam/acme inspired things like expand-region, all of which are available in emacs and vim nowadays.

Offline iri

  • Posts: 997
  • Location: England
Re: Your Preferred Text Editor
« Reply #226 on: Wed, 18 December 2013, 12:18:03 »
As far I know the text editor in big IDEs are very, very limited which is why I welcome project like eclim and emacs-eclim which allow to use vim or Emacs as your text editor and Eclipse as the server... If only the same existed for IntelliJ IDEA (I know there's at least one such project going on). Maybe that in ten years we'll have something like Grok (from Google / Steve Yegge) catching on and we'll be able to use the editor we want within any IDE (Grok is about much more than that but it should have the benefit of being usable as a back-end for the editor we want as I understand it).
Being able to use real Emacs like one can with eclim with IDEA would be amazing
why emacs and not vim? emacs has everything but a decent text editor. vim is mostly a decent text editor.
(...)Whereas back then I wrote about the tyranny of the majority, today I'd combine that with the tyranny of the minorities. These days, you have to be careful of both. They both want to control you. The first group, by making you do the same thing over and over again. The second group is indicated by the letters I get from the Vassar girls who want me to put more women's lib in The Martian Chronicles, or from blacks who want more black people in Dandelion Wine.
I say to both bunches, Whether you're a majority or minority, bug off! To hell with anybody who wants to tell me what to write. Their society breaks down into subsections of minorities who then, in effect, burn books by banning them. All this political correctness that's rampant on campuses is b.s.

-Ray Bradbury

Offline yakitysax

  • Posts: 51
Re: Your Preferred Text Editor
« Reply #227 on: Thu, 19 December 2013, 07:20:04 »
As far I know the text editor in big IDEs are very, very limited which is why I welcome project like eclim and emacs-eclim which allow to use vim or Emacs as your text editor and Eclipse as the server... If only the same existed for IntelliJ IDEA (I know there's at least one such project going on). Maybe that in ten years we'll have something like Grok (from Google / Steve Yegge) catching on and we'll be able to use the editor we want within any IDE (Grok is about much more than that but it should have the benefit of being usable as a back-end for the editor we want as I understand it).
Being able to use real Emacs like one can with eclim with IDEA would be amazing
why emacs and not vim? emacs has everything but a decent text editor. vim is mostly a decent text editor.
Either one would be great. Jetbrains (company that develops IDEA) usually nails the integration and various levels of code comprehension part well with their tooling but the actual editing and code navigation part is less fluid in comparison to either of my setups with vim or emacs (through evil-mode mainly, which implements vim's grammar).

Offline iri

  • Posts: 997
  • Location: England
Re: Your Preferred Text Editor
« Reply #228 on: Thu, 19 December 2013, 07:44:58 »
As far I know the text editor in big IDEs are very, very limited which is why I welcome project like eclim and emacs-eclim which allow to use vim or Emacs as your text editor and Eclipse as the server... If only the same existed for IntelliJ IDEA (I know there's at least one such project going on). Maybe that in ten years we'll have something like Grok (from Google / Steve Yegge) catching on and we'll be able to use the editor we want within any IDE (Grok is about much more than that but it should have the benefit of being usable as a back-end for the editor we want as I understand it).
Being able to use real Emacs like one can with eclim with IDEA would be amazing
why emacs and not vim? emacs has everything but a decent text editor. vim is mostly a decent text editor.
Either one would be great. Jetbrains (company that develops IDEA) usually nails the integration and various levels of code comprehension part well with their tooling but the actual editing and code navigation part is less fluid in comparison to either of my setups with vim or emacs (through evil-mode mainly, which implements vim's grammar).
Don't worry, I will soon join Jetbrains and make it perfect.
(...)Whereas back then I wrote about the tyranny of the majority, today I'd combine that with the tyranny of the minorities. These days, you have to be careful of both. They both want to control you. The first group, by making you do the same thing over and over again. The second group is indicated by the letters I get from the Vassar girls who want me to put more women's lib in The Martian Chronicles, or from blacks who want more black people in Dandelion Wine.
I say to both bunches, Whether you're a majority or minority, bug off! To hell with anybody who wants to tell me what to write. Their society breaks down into subsections of minorities who then, in effect, burn books by banning them. All this political correctness that's rampant on campuses is b.s.

-Ray Bradbury

Offline yakitysax

  • Posts: 51
Re: Your Preferred Text Editor
« Reply #229 on: Thu, 19 December 2013, 14:37:18 »
As far I know the text editor in big IDEs are very, very limited which is why I welcome project like eclim and emacs-eclim which allow to use vim or Emacs as your text editor and Eclipse as the server... If only the same existed for IntelliJ IDEA (I know there's at least one such project going on). Maybe that in ten years we'll have something like Grok (from Google / Steve Yegge) catching on and we'll be able to use the editor we want within any IDE (Grok is about much more than that but it should have the benefit of being usable as a back-end for the editor we want as I understand it).
Being able to use real Emacs like one can with eclim with IDEA would be amazing
why emacs and not vim? emacs has everything but a decent text editor. vim is mostly a decent text editor.
Either one would be great. Jetbrains (company that develops IDEA) usually nails the integration and various levels of code comprehension part well with their tooling but the actual editing and code navigation part is less fluid in comparison to either of my setups with vim or emacs (through evil-mode mainly, which implements vim's grammar).
Don't worry, I will soon join Jetbrains and make it perfect.
That is really my only quibble with their products, they are otherwise perfect and IDEA is irreplaceable. Even at a certain company that has an alternative Java IDE they use IDEA instead of their own internally it is so good.

Offline phatdood9

  • Posts: 162
  • Location: sf bay area, ca
Re: Your Preferred Text Editor
« Reply #230 on: Thu, 19 December 2013, 23:56:12 »
I wish I had a little time to really get into emacs.

Emacs with evil mode seems really really nice. I just can't take a real big hit in productivity right now  :(

Offline terran5992

  • Posts: 1485
  • Location: Singapore
  • One With The Cup Rubber
Re: Your Preferred Text Editor
« Reply #231 on: Fri, 20 December 2013, 01:22:37 »
Just tried notedpad++

Great for writing codes

Listokei Custom  |  HHKB Pro 2  |  Topre Realforce 103UBH  |  Armageddon MKA-3


Offline adhoc

  • Posts: 216
  • Location: Slovenia
Re: Your Preferred Text Editor
« Reply #232 on: Fri, 20 December 2013, 02:14:59 »
I really, really like Notepad++ for the obvious reasons however the upper limit of files size that can be opened usually makes it unusable for me and I need to go to ultra edit. I'm usually working with huge text files (inputs and outputs of calculation analyses) which can easily go over the limit of Notepad++ (which is 1gb I believe).

And Vi for remote files stuff ofc.

Offline terran5992

  • Posts: 1485
  • Location: Singapore
  • One With The Cup Rubber
Re: Your Preferred Text Editor
« Reply #233 on: Fri, 20 December 2013, 02:15:56 »
I really, really like Notepad++ for the obvious reasons however the upper limit of files size that can be opened usually makes it unusable for me and I need to go to ultra edit. I'm usually working with huge text files (inputs and outputs of calculation analyses) which can easily go over the limit of Notepad++ (which is 1gb I believe).

And Vi for remote files stuff ofc.

Are there really text files that big 0.o

Listokei Custom  |  HHKB Pro 2  |  Topre Realforce 103UBH  |  Armageddon MKA-3


Offline adhoc

  • Posts: 216
  • Location: Slovenia
Re: Your Preferred Text Editor
« Reply #234 on: Fri, 20 December 2013, 02:21:17 »
Yes. I work with FEA solvers calculating with 5mil+ degrees of freedom. Text files are usually enormous.

Offline iri

  • Posts: 997
  • Location: England
Re: Your Preferred Text Editor
« Reply #235 on: Fri, 20 December 2013, 03:47:17 »
That is really my only quibble with their products
well, i have many quibbles with their products...
(...)Whereas back then I wrote about the tyranny of the majority, today I'd combine that with the tyranny of the minorities. These days, you have to be careful of both. They both want to control you. The first group, by making you do the same thing over and over again. The second group is indicated by the letters I get from the Vassar girls who want me to put more women's lib in The Martian Chronicles, or from blacks who want more black people in Dandelion Wine.
I say to both bunches, Whether you're a majority or minority, bug off! To hell with anybody who wants to tell me what to write. Their society breaks down into subsections of minorities who then, in effect, burn books by banning them. All this political correctness that's rampant on campuses is b.s.

-Ray Bradbury

Offline TacticalCoder

  • Posts: 526
Re: Your Preferred Text Editor
« Reply #236 on: Fri, 20 December 2013, 04:15:55 »
That is really my only quibble with their products, they are otherwise perfect and IDEA is irreplaceable. Even at a certain company that has an alternative Java IDE they use IDEA instead of their own internally it is so good.

Oh definitely... I have my fully paid license of IDEA and I'm a user since IntelliJ IDEA version 4 or so and I think it totally rocks.

I'm probably one of the user here using IDEA since the longest time (back when it was actually hardly usable on Linux: using green threads IIRC and ugly fonts etc. yet I was already a believer).

So, yeah, JetBrains do allow us Emacs / vi(m) / Sublime Text / etc. users to plug in your beloved text editor right in the middle of your IDE, like eclim! (but better)   :thumb:

(this thread started as a holy war for the best text editor and then everyone agrees that IDEA is the best IDE !? !? !?)

HHKB Pro JP (daily driver) -- HHKB Pro 2 -- Industrial IBM Model M 1395240-- NIB Cherry MX 5000 - IBM Model M 1391412 (Swiss QWERTZ) -- IBM Model M 1391403 (German QWERTZ) * 2 -- IBM Model M Ambra -- Black IBM Model M M13 -- IBM Model M 1391401 -- IBM Model M 139? ? ? *2 -- Dell AT102W -- Ergo (split) SmartBoard (white ALPS apparently)

Offline iri

  • Posts: 997
  • Location: England
Re: Your Preferred Text Editor
« Reply #237 on: Fri, 20 December 2013, 05:37:41 »
i do agree that idea is currently the best java ide. but it has its quirks.
oh, and version 13 looks much more awesome on linux.
(...)Whereas back then I wrote about the tyranny of the majority, today I'd combine that with the tyranny of the minorities. These days, you have to be careful of both. They both want to control you. The first group, by making you do the same thing over and over again. The second group is indicated by the letters I get from the Vassar girls who want me to put more women's lib in The Martian Chronicles, or from blacks who want more black people in Dandelion Wine.
I say to both bunches, Whether you're a majority or minority, bug off! To hell with anybody who wants to tell me what to write. Their society breaks down into subsections of minorities who then, in effect, burn books by banning them. All this political correctness that's rampant on campuses is b.s.

-Ray Bradbury

Offline angelic_sedition

  • Posts: 124
  • Location: Flatland
Re: Your Preferred Text Editor
« Reply #238 on: Wed, 22 January 2014, 15:11:47 »
I wonder why people would just settle with control as opposed to an entirely new layer
because they want a control key and not an entirely new layer.

Implementing that on linux is actually very easy with xmodmap or xkb (I'm on linux with heavy remappings), though I'm not sure how easy it would be to have a different output based on whether or not other keys are pressed at the same time.
in other words, you have no idea about how to implement that.

;) Why not have both? And have you considered that maybe some people want the capslock key? It's a matter of preference.


Well it depends on exactly what you want to implement. Simply switching caps to escape or control would be simple. In other words, I don't know how easy it would be to do both (exactly as I said). I do know how you would go about trying it. You might be able to do it just by using xdotool to send escape on keyup and then bind it with something like xbindkeys or sxhkd. I haven't tested it though. I don't find the feature particularly enticing. Alternatively, for this behaviour just in vim, you could just map control to escape in insert mode and then still use control normally in normal mode if you needed it for something.

Edit: Above causes no accidental escapes, but I decided to look into it. And it took me about ten minutes to find xcape among other programs that add the same functionality, so yes, it is easy. If you have caps set up as Control_L with xmodmap: "xcape -e "Control_L=Escape"


I keep accidentally quoting myself instead of editing. Sorry. Feel free to delete this post.
« Last Edit: Wed, 22 January 2014, 15:14:19 by angelic_sedition »
QWERTY(104wpm) -> CarpalxQ(modded) -> Colemak(118wpm) -> Colemak-DH
Mouse less.

Offline rowdy

  • HHKB Hapster
  • * Erudite Elder
  • Posts: 21175
  • Location: melbourne.vic.au
  • Missed another sale.
Re: Your Preferred Text Editor
« Reply #239 on: Wed, 22 January 2014, 15:21:28 »
I wonder why people would just settle with control as opposed to an entirely new layer
because they want a control key and not an entirely new layer.

Implementing that on linux is actually very easy with xmodmap or xkb (I'm on linux with heavy remappings), though I'm not sure how easy it would be to have a different output based on whether or not other keys are pressed at the same time.
in other words, you have no idea about how to implement that.

;) Why not have both? And have you considered that maybe some people want the capslock key? It's a matter of preference.


Well it depends on exactly what you want to implement. Simply switching caps to escape or control would be simple. In other words, I don't know how easy it would be to do both (exactly as I said). I do know how you would go about trying it. You might be able to do it just by using xdotool to send escape on keyup and then bind it with something like xbindkeys or sxhkd. I haven't tested it though. I don't find the feature particularly enticing. Alternatively, for this behaviour just in vim, you could just map control to escape in insert mode and then still use control normally in normal mode if you needed it for something.

Edit: Above causes no accidental escapes, but I decided to look into it. And it took me about ten minutes to find xcape among other programs that add the same functionality, so yes, it is easy. If you have caps set up as Control_L with xmodmap: "xcape -e "Control_L=Escape"


I keep accidentally quoting myself instead of editing. Sorry. Feel free to delete this post.

Quoting yourself is like talking to yourself ;)
"Because keyboards are accessories to PC makers, they focus on minimizing the manufacturing costs. But that’s incorrect. It’s in HHKB’s slogan, but when America’s cowboys were in the middle of a trip and their horse died, they would leave the horse there. But even if they were in the middle of a desert, they would take their saddle with them. The horse was a consumable good, but the saddle was an interface that their bodies had gotten used to. In the same vein, PCs are consumable goods, while keyboards are important interfaces." - Eiiti Wada

NEC APC-H4100E | Ducky DK9008 Shine MX blue LED red | Ducky DK9008 Shine MX blue LED green | Link 900243-08 | CM QFR MX black | KeyCool 87 white MX reds | HHKB 2 Pro | Model M 02-Mar-1993 | Model M 29-Nov-1995 | CM Trigger (broken) | CM QFS MX green | Ducky DK9087 Shine 3 TKL Yellow Edition MX black | Lexmark SSK 21-Apr-1994 | IBM SSK 13-Oct-1987 | CODE TKL MX clear | Model M 122 01-Jun-1988

Ị̸͚̯̲́ͤ̃͑̇̑ͯ̊̂͟ͅs̞͚̩͉̝̪̲͗͊ͪ̽̚̚ ̭̦͖͕̑́͌ͬͩ͟t̷̻͔̙̑͟h̹̠̼͋ͤ͋i̤̜̣̦̱̫͈͔̞ͭ͑ͥ̌̔s̬͔͎̍̈ͥͫ̐̾ͣ̔̇͘ͅ ̩̘̼͆̐̕e̞̰͓̲̺̎͐̏ͬ̓̅̾͠͝ͅv̶̰͕̱̞̥̍ͣ̄̕e͕͙͖̬̜͓͎̤̊ͭ͐͝ṇ̰͎̱̤̟̭ͫ͌̌͢͠ͅ ̳̥̦ͮ̐ͤ̎̊ͣ͡͡n̤̜̙̺̪̒͜e̶̻̦̿ͮ̂̀c̝̘̝͖̠̖͐ͨͪ̈̐͌ͩ̀e̷̥͇̋ͦs̢̡̤ͤͤͯ͜s͈̠̉̑͘a̱͕̗͖̳̥̺ͬͦͧ͆̌̑͡r̶̟̖̈͘ỷ̮̦̩͙͔ͫ̾ͬ̔ͬͮ̌?̵̘͇͔͙ͥͪ͞ͅ

Offline xandr

  • Posts: 141
  • Location: Cork, Ireland
Re: Your Preferred Text Editor
« Reply #240 on: Thu, 23 January 2014, 05:31:33 »
vim if I only have access to the console and Sublime Text everywhere else.
Sprit 60% w/MX Clear in DuckMini V2 case | Matias Quiet Pro (office)

Offline swill

  • * Elevated Elder
  • Posts: 3365
  • Location: Canada eh
  • builder & enabler
    • swillkb.com
Re: Your Preferred Text Editor
« Reply #241 on: Thu, 23 January 2014, 15:23:41 »

vim if I only have access to the console and Sublime Text everywhere else.

Same...

Gotta love that dark solarized in sublime text. :)

Can't wait for penumbra set to match my editor. :)

Offline xandr

  • Posts: 141
  • Location: Cork, Ireland
Re: Your Preferred Text Editor
« Reply #242 on: Fri, 24 January 2014, 03:04:24 »

vim if I only have access to the console and Sublime Text everywhere else.

Same...

Gotta love that dark solarized in sublime text. :)

I'm not actually a fan of the solarized scheme and made my own which is included with my fork of the Soda Theme. (It's on the package manager as well)
Sprit 60% w/MX Clear in DuckMini V2 case | Matias Quiet Pro (office)

Offline swill

  • * Elevated Elder
  • Posts: 3365
  • Location: Canada eh
  • builder & enabler
    • swillkb.com
Re: Your Preferred Text Editor
« Reply #243 on: Fri, 24 January 2014, 08:34:29 »


vim if I only have access to the console and Sublime Text everywhere else.

Same...

Gotta love that dark solarized in sublime text. :)

I'm not actually a fan of the solarized scheme and made my own which is included with my fork of the Soda Theme. (It's on the package manager as well)

Why fork it?  If you like soda, use soda.

Offline daerid

  • Posts: 4276
  • Location: Denver, CO
    • Rossipedia
Re: Your Preferred Text Editor
« Reply #244 on: Fri, 24 January 2014, 10:58:46 »
I'm not actually a fan of the solarized scheme and made my own which is included with my fork of the Soda Theme. (It's on the package manager as well)

Finally, somebody else. I loathe the solarized theme. After a few minutes it gives me a headache, without fail.

Offline swill

  • * Elevated Elder
  • Posts: 3365
  • Location: Canada eh
  • builder & enabler
    • swillkb.com
Re: Your Preferred Text Editor
« Reply #245 on: Fri, 24 January 2014, 12:00:04 »

I'm not actually a fan of the solarized scheme and made my own which is included with my fork of the Soda Theme. (It's on the package manager as well)

Finally, somebody else. I loathe the solarized theme. After a few minutes it gives me a headache, without fail.

Light or dark?  I don't like light, but after using dark for a couple days I started to fall in love.

Offline daerid

  • Posts: 4276
  • Location: Denver, CO
    • Rossipedia
Re: Your Preferred Text Editor
« Reply #246 on: Fri, 24 January 2014, 14:42:26 »
Either. I'm not a big fan of warm colors in general, but the low contrast between the blues of the dark theme just bugs the crap out of my eyes.

Offline swill

  • * Elevated Elder
  • Posts: 3365
  • Location: Canada eh
  • builder & enabler
    • swillkb.com
Re: Your Preferred Text Editor
« Reply #247 on: Fri, 24 January 2014, 14:54:44 »

Either. I'm not a big fan of warm colors in general, but the low contrast between the blues of the dark theme just bugs the crap out of my eyes.

I did change the selection color cause it bugged me.

Offline xandr

  • Posts: 141
  • Location: Cork, Ireland
Re: Your Preferred Text Editor
« Reply #248 on: Sat, 25 January 2014, 04:28:05 »

I'm not actually a fan of the solarized scheme and made my own which is included with my fork of the Soda Theme. (It's on the package manager as well)

Why fork it?  If you like soda, use soda.

I forked it because I made a few modifications. I basically mixed elements of both the light and dark themes. Nothing major but still enough to fork it so I can easily merge any updates from Ian without having to do my mods again.

It's definitely not a "look, I improved Soda lots" release. More a convenience thing for myself.
Sprit 60% w/MX Clear in DuckMini V2 case | Matias Quiet Pro (office)

Offline swill

  • * Elevated Elder
  • Posts: 3365
  • Location: Canada eh
  • builder & enabler
    • swillkb.com
Re: Your Preferred Text Editor
« Reply #249 on: Sat, 25 January 2014, 07:43:18 »


I'm not actually a fan of the solarized scheme and made my own which is included with my fork of the Soda Theme. (It's on the package manager as well)

Why fork it?  If you like soda, use soda.

I forked it because I made a few modifications. I basically mixed elements of both the light and dark themes. Nothing major but still enough to fork it so I can easily merge any updates from Ian without having to do my mods again.

It's definitely not a "look, I improved Soda lots" release. More a convenience thing for myself.

Gotcha. Ya Git is an awesome tool. I don't miss the dark days of SVN.