|
MononcQc posted:I have a plugin thing that runs the Erlang compiler when I save a file. i usually keep another window or tmux/screen buffer open to compile or run a script, but i am a plang "professional"
|
# ? Feb 6, 2015 21:21 |
|
|
# ? May 12, 2024 23:11 |
|
How the gently caress do you guys using vim without plugins navigate your file structure without ctrl p, unite, or need tree
|
# ? Feb 6, 2015 21:55 |
|
MALE SHOEGAZE posted:How the gently caress do you guys using vim without plugins navigate your file structure without ctrl p, unite, or need tree We quit and type "cd" and then "vi <new filename>" like a god damned adult
|
# ? Feb 6, 2015 21:56 |
|
Space Whale posted:I challenge someone to race me in using EF to do something vs writing as proc and using ado.net because god damnit. whatever time seems to be saved using entity shame works will just be spent rewriting your data access code when it becomes obvious that your aggregate root repository pattern only works well for toy examples
|
# ? Feb 6, 2015 21:58 |
|
If you're going to spend 90% of your time in the terminal why not just echo and awk stuff into your files where you can leverage the real command line because that's clearly what you want to be doing
|
# ? Feb 6, 2015 21:59 |
|
MALE SHOEGAZE posted:If you're going to spend 90% of your time in the terminal why not just echo and awk stuff into your files where you can leverage the real command line because that's clearly what you want to be doing once you get a real job you will be able to focus on a code file for more than 20 minutes rather than being screamed at to put out 9000 fires a second It Gets Better, i promise!
|
# ? Feb 6, 2015 22:06 |
|
MALE SHOEGAZE posted:How the gently caress do you guys using vim without plugins navigate your file structure without ctrl p, unite, or need tree vim . opens the current directory in the buffer and handles that poo poo by default I think.
|
# ? Feb 6, 2015 22:13 |
MALE SHOEGAZE posted:How the gently caress do you guys using vim without plugins navigate your file structure without ctrl p, unite, or need tree and i use it like for maybe two weeks, but its pretty cool i dont even google "how to do x in vim" often!
|
|
# ? Feb 6, 2015 22:29 |
|
MALE SHOEGAZE posted:How the gently caress do you guys using vim without plugins navigate your file structure without ctrl p, unite, or need tree find, grep, cd, and :sp <file> or :vsp <file> if i really need more than one thing open at the same time
|
# ? Feb 6, 2015 22:36 |
|
protip: there is a :help subject in vim.
|
# ? Feb 6, 2015 22:47 |
|
master of the sea posted:protip: there is a :help subject in vim. more like master of the lovely text editor
|
# ? Feb 6, 2015 23:20 |
|
jk i use vim, it owns, vim crew ^5
|
# ? Feb 6, 2015 23:20 |
|
master of the sea posted:protip: there is a :help subject in vim. this is the equivalent of telling people to use man pages
|
# ? Feb 6, 2015 23:25 |
|
MononcQc posted:vim . opens the current directory in the buffer and handles that poo poo by default I think. yeah but what if you have many folders in your project i don't understand how someone autistic enough to use vim for 'functionality and efficiency' can find anything other than pressing ctrl+p and fuzzy searching for the file name throughout your entire project to be acceptable, unless they know of a better/faster way. and using find or grep in your cwd is not a better or faster way poo poo makes no sense.
|
# ? Feb 6, 2015 23:57 |
|
vim is absolutely wonderful for editing a file. but unless i'm not understanding so sort of workflow or something it is absolutely awful for editing projects, without extensive modification. until someone demonstrates the true path, i am going to maintain that anyone using vim without at least a few productivity plugins is completely insane
|
# ? Feb 7, 2015 00:00 |
|
oh no plugin purists nevermind
|
# ? Feb 7, 2015 00:02 |
|
the new guy at work uses dvorak and vim and even he uses ctrl p
|
# ? Feb 7, 2015 00:08 |
MALE SHOEGAZE posted:the new guy at work uses dvorak and vim and even he uses ctrl p
|
|
# ? Feb 7, 2015 00:30 |
|
Jonny 290 posted:once you get a real job you will be able to focus on a code file for more than 20 minutes rather than being screamed at to put out 9000 fires a second well designed software is actually going to be spread out over a variety of files though???
|
# ? Feb 7, 2015 00:35 |
|
EVGA Longoria posted:well designed software is actually going to be spread out over a variety of files though??? lol if you think any software is well designed
|
# ? Feb 7, 2015 01:19 |
|
Soricidus posted:lol if you think any software is well designed i have gazed upon the sublime i have seen os x
|
# ? Feb 7, 2015 01:21 |
|
Soricidus posted:lol if you think any software is well designed certainly not by people who cant do side by side comparisons of code and have to enter a command into the command line in order to to open other files for them to hold into their head like i dont even know how you might try to copy and paste something
|
# ? Feb 7, 2015 01:23 |
|
MeruFM posted:this is the equivalent of telling people to use man pages yeah oh poo poo imagine having to learn the tools u use
|
# ? Feb 7, 2015 01:36 |
|
MALE SHOEGAZE posted:certainly not by people who cant do side by side comparisons of code and have to enter a command into the command line in order to to open other files for them to hold into their head emacs is very good for comparing things side by side, I use C-x 5 and M-x ediff-buffers a lot. i can't imagine using an editor that didn't make that kind of thing trivial.
|
# ? Feb 7, 2015 01:39 |
|
it's easy in vim if you use plugins i assumed it was easy in vim without plugins once you got familiar with it but apparently not
|
# ? Feb 7, 2015 01:44 |
|
everybody here seems to use ctrl p is it better than command t?
|
# ? Feb 7, 2015 01:47 |
|
Flat Daddy posted:it would be cool if there was a good workhorse gui editor that was as good as vim or emacs it's called emacs
|
# ? Feb 7, 2015 01:48 |
|
newest favorite emacs plugins: helm (jesus christ this is amazing) golden-ratio is also amazing since it makes split windows usable
|
# ? Feb 7, 2015 01:49 |
|
Snapchat A Titty posted:loving around with a thing but i cant think up any good names for these objects i think i'd go for 'item', 'view', 'section', so each physical item could have several "views" (e.g. photos) that could show fully or partially one or more logical sections
|
# ? Feb 7, 2015 01:51 |
|
Flat Daddy posted:it would be cool if there was a good workhorse gui editor that was as good as vim or emacs emacs has a pretty fancy gui, just most emacs users choose to turn it off i don't really need/want toolbars and buttons and poo poo
|
# ? Feb 7, 2015 01:53 |
|
AWWNAW posted:whatever time seems to be saved using entity shame works will just be spent rewriting your data access code when it becomes obvious that your aggregate root repository pattern only works well for toy examples The architect just went and set up... an architecture that will actually scale. The problem is actually configuring this code-first mess to match an existing (and lovely!) schema is a gigantic loving pain. I sat down with a dev who has been at my work for 8 years and she even had a "... this should work" moment when we just sorta decided to go braindead until 5pm. Later it turns out "no, the serializer can only serialize a class with the exact same properties and no annotations or nothing within the same project" or whatever. Anyway if I could have just loving eaten a sproc and pooped out a foo of List<BizObj> and burped that out of my controller I would have been a happy person and IT WOULD HAVE BEEN DONE A LOT loving FASTER. Do you ever actually save time sculpting linq or do you spend just as much time writing TSQL but without the other bullshit associated?
|
# ? Feb 7, 2015 01:53 |
|
Alternatively I could just be an awful idiot who just parrots programming believably and I reached my limit at code first EF.
|
# ? Feb 7, 2015 01:54 |
|
MALE SHOEGAZE posted:How the gently caress do you guys using vim without plugins navigate your file structure without ctrl p, unite, or need tree ctrl-p is essential. without it i'd probably be using a real gui or something by now Symbolic Butt posted:everybody here seems to use ctrl p iirc command-t required some compiled extension or somethign? ctrl-p just works except you need to refresh with f5 some times
|
# ? Feb 7, 2015 01:55 |
|
other than command-t the other plugins that I use are just stuff like https://github.com/hdima/python-syntax. because vim's default syntax highlighting for python isn't perfect like I demand it to be. one cool thing about emacs is that it seems to have pretty good syntax highlighting out of the box for every language that I checked suffix posted:iirc command-t required some compiled extension or somethign? ctrl-p just works except you need to refresh with f5 some times yeah, it seems to depend on a bunch of ruby too. and it's kind of slow. I'll check ctrl p, I kind of assumed command-t was still better because the author still updates it.
|
# ? Feb 7, 2015 01:57 |
|
umm why are u doing code first against an existing db u could just import the schema to .edmx and generate the pocos
|
# ? Feb 7, 2015 02:40 |
|
never mind just don't use ef
|
# ? Feb 7, 2015 02:41 |
|
q: how do i search my entire project for a search term in vim? a: Okay, let's turn this into a custom command. :se won't do, custom commands must start with an uppercase letter, so let's use :Se: :command Se vimgrep /searchTerm/ **/*.html This isn't parameterized yet. Let's allow an argument for the search term: :command -nargs=1 Se vimgrep /<args>/ **/*.html Then, default the file extension to the current buffer's; we now need :execute to interpolate the value: :command -nargs=1 Se execute 'vimgrep /<args>/ **/*.' . expand('%:e') Passing both pattern and extension as arguments requires that we split the arguments. Vim can pass individual strings by using <f-args>; we can make a List out of that by wrapping it with [ and ], and then use indexing to extract the arguments: :command -nargs=+ Se execute 'vimgrep /' . [<f-args>][0] . '/ **/*.' . [<f-args>][1] Voila!
|
# ? Feb 7, 2015 04:01 |
|
Space Whale posted:I challenge someone to race me in using EF to do something vs writing as proc and using ado.net because god damnit. lol ef is really bad and future versions are going to be worse.
|
# ? Feb 7, 2015 04:07 |
|
Space Whale posted:The architect just went and set up... an architecture that will actually scale. The problem is actually configuring this code-first mess to match an existing (and lovely!) schema is a gigantic loving pain. ef is poo poo from a butt, but if you have procs already you can use its lovely function import thing to use it as a poor mans statement mapper. if you don't have procs, go write the procs because it will be faster if you understand sql even a little bit.
|
# ? Feb 7, 2015 04:09 |
|
|
# ? May 12, 2024 23:11 |
|
Seriously? 5 pages of "learn this editor" chat and not one mention of vim adventures? I don't see any emacs adventure, do you? Dunnet doesn't count. No pico adventure. That's right. vim wins, baby. But seriously, you're retarded if you're trying to multi-file edits in vim.
|
# ? Feb 7, 2015 04:10 |