[a / b / c / d / e / f / g / gif / h / hr / k / m / o / p / r / s / t / u / v / vg / vm / vmg / vr / vrpg / vst / w / wg] [i / ic] [r9k / s4s / vip / qa] [cm / hm / lgbt / y] [3 / aco / adv / an / bant / biz / cgl / ck / co / diy / fa / fit / gd / hc / his / int / jp / lit / mlp / mu / n / news / out / po / pol / pw / qst / sci / soc / sp / tg / toy / trv / tv / vp / vt / wsg / wsr / x / xs] [Edit][Settings] [Search] [Mobile] [Home]
Board
Settings Mobile Home
4chan
/g/ - Technology

Name
Options
Comment
Verification
4chan Pass users can bypass this verification. [Learn More] [Login]
File
  • Please read the Rules and FAQ before posting.
  • You may highlight syntax and preserve whitespace by using [code] tags.

08/21/20New boards added: /vrpg/, /vmg/, /vst/ and /vm/
05/04/17New trial board added: /bant/ - International/Random
10/04/16New board for 4chan Pass users: /vip/ - Very Important Posts
[Hide] [Show All]


[Advertise on 4chan]


File: 1700486666839595.png (1 KB, 460x460)
1 KB
1 KB PNG
I just wanted to say that I love neovim and Lua so much it's unreal, thanks for reading.
>>
>>102409333 (OP)
Based.
>>
File: 665532-768975354.jpg (344 KB, 1920x1200)
344 KB
344 KB JPG
>>102409333 (OP)
I love IDEs
>>
>>102409333 (OP)
>install neovim for first time
wtf why does it run in a terminal?
>>
>>102409428
If you really don't want to run it on a terminal for some reason you can use a GUI.
https://github.com/neovim/neovim/wiki/Related-projects#gui
>>
>>102409333 (OP)
tell me that it doesn't convert my tabs to spaces and i'll switch.
>>
>>102409466
Oh nice. Guess I'll give it another try.
>>
File: 1570630370703.jpg (235 KB, 1920x1080)
235 KB
235 KB JPG
>>102409411
>not extendable yet bloated
>made by and for corpocucks instead of hackers
lol
>>102409428
>why does it run in a terminal?
Because a terminal is a text based interface that makes perfect sense for a text editor, with this said you can run it in a GUI if you really really want to.
>>
>>102409333 (OP)
>accumulated tons of shitty vim macros/etc that I forget how they work
>try nvim
>macros/etc don’t automatically work
dropped lol
>>
>>102409469
it doesn't
>>
why lua
>>
>>102409469
Sure the editor itself can be configured so it will use only tabs, see
:help 'tabstop'
and
:help 'noexpandtab'
for how to configure it.
Some indent plugins might still mess with it, but it should work for 99% of the languages.
>>102409499
They should actually be compatible though, neovim still supports vimscript, what are you even doing?
>>102409559
Smol, high-level, fast and easy to use.
>>
File: sticker_8.png (14 KB, 200x200)
14 KB
14 KB PNG
>>102409489
>not extendable yet bloated
Bullshit, almost all of them are. you never wrote anything bigger than some tinkertroon project
>made by and for corpocucks instead of hackers
It was made by job-having-hackers = better than neet tinkertroons

Get a job or BTFO, neet anon
>>
>>102409333 (OP)
>i love lua
based anon, lua is my favourite language
>>
>>102409574
>Smol, high-level, fast and easy to use.
what do you do with it
>>
>>102409651
you can do anything, but its mostly used for embedding in a program, for example writing plugins for neovim. It is used quite frequently too! Wikipedia uses lua for its pages, for example
>>
>>102409574
>Some indent plugins might still mess with it
my problem with vim is that all of the syntax highlight plugins are set up to change tabs to spaces and the only way to disable it properly is to write a load after scriipt to disable it for every single language.
and even then copy/paste still converts.
really i just don't believe that its simple to avoid converting tabs to spaces, the entire world seems bent on it for some inexplicable reason.
if you think i'm going to type out the option every time i open a file you are mad.
i just want the computer to do what the fuck i tell it to do.
>>
>>102409725
Try this in your vim config:
augroup tabs
autocmd!
autocmd FileType * set noexpandtab
augroup END


That should set noexpandtab as if it were in an after script, but for every file type.
>>
>>102409333 (OP)
Kate clears
>>
>>102409772
based and thanks if true <3
>>
>>102409725
I used to use tabs years ago so I know your pain (then I decided I don't care so I use the path of least resistance), from what I remember it was only few languages where the indent plugins interfered, Python I think it's an example if I'm not wrong.
If >>102409772 doesn't work remember that you can disable autoindent plugin loading with
:filetype indent off
or make/patch your own indent plugins in ~/.config/nvim/indent/...
>>
>>102409559
>>102409651
Writing Roblox games. That's what Lua is for and that's what everyone who shills it here uses it for but they refuse to admit it for some reason.
>>
>>102409651
it’s a decent enough scripting language for writing in-game logic like specifying a mission or specifying NPC behavior
>if player_has(sword) monster.attack=True
>if player_is(female) monster.rape=True
it’s not suitable for the actual game engine, but for these simple things it works well and it’s great for modders i.e. children and retards
>>
>>102409333 (OP)
Just get a proper IDE
Vim was intended to be a simple text editor, not an IDE.
>>
>>102409466
>>102409485
but if you want a heavily configurable GUI based editor, why not try emacs?
>>
>>102409333 (OP)
is lua worth learning? i've been meaning to learn a fast scripting language other than bash which is useless outside of the LFS
>>
>>102410457
Emacs is obsolete and full of useless features.
Get an actual IDE
>>
>>102410495
>i've been meaning to learn a fast scripting language other than bash
Depends, if you want a bash alternative for writing scripts I suggest Python, if you want to extend or configure existing software I suggest Lua.
They are kind of similar in the sense that they both are high-level dynamic languages that run in a VM, Python is more similar to Java (class based object oriented) Lua to JavaScript (minimal prototype based object oriented), problem with using Lua as a bash scripts alternative is that unlike Python it's missing from it's standard library integrations with common UNIX APIs (I don't mean it as a bad thing since it's on purpose) so you have to use third party libraries.
>>
>>102409333 (OP)
Pleasant surprise to see my art posted.
>>
Why not just use a text editor with normal keybindings?
>>
>>102412019
when you get used to vimbinding it becomes the normal
>>
Helix > Neovim
>>
>>102409802
Kate is just a text editor.
>>
>>102412102
Helix doesn't even compare to Neovim. It's still immature.
>>
>>102412205
How?
>>
>>102412205
Helix comes with everything out of the box, you don't need to spend hours on customising it
It would have killed Neovim, if the developers kept the normal vim motions instead of the selection action shit.
>>
>>102409333 (OP)
Thanks, but I'm sticking with emacs (biological Aryan male)
>>
>>102412468
It's actually crazy how fast Helix and Zed are compared to the bloated mess of the average neovim configuration. Neovim is practically vscode tier trash now.
>>
>>102410457
does it come with a good text editor
>>
>>102409333 (OP)
emacs + elisp mogs
>>
what is Lua used for? I only remember gmod scripts crashing with Lua
>>
>>102414999
Lua and vimscript is used for plugins which almost everything is done through. It's an unholy mess and becomes extremely slow very quickly.
>>
>>102410457
I want my text editor to:
be efficient
not crash
not give me an anneurism

emacs fails on all counts
>>
>>102409411
i am a codeblocks user. mock me, if you dare.
>>
>>102415835
notepad++ on windows 7
>>
>>102415915
what about troonix
>>
Lua is so simple, however, that I will always adore it.
I think there are a few things that could be removed but it is close enough.
>>
File: 1024px-EmacsIcon.png (153 KB, 1024x1024)
153 KB
153 KB PNG
Vim was pretty good, but I've matured a bit and wanted something to grow into so I chose emacs.
>>
>>102415855
Hello fellow comrade. Truly one of the IDEs ever.



[Advertise on 4chan]

Delete Post: [File Only] Style:
[a / b / c / d / e / f / g / gif / h / hr / k / m / o / p / r / s / t / u / v / vg / vm / vmg / vr / vrpg / vst / w / wg] [i / ic] [r9k / s4s / vip / qa] [cm / hm / lgbt / y] [3 / aco / adv / an / bant / biz / cgl / ck / co / diy / fa / fit / gd / hc / his / int / jp / lit / mlp / mu / n / news / out / po / pol / pw / qst / sci / soc / sp / tg / toy / trv / tv / vp / vt / wsg / wsr / x / xs] [Edit][Settings] [Search] [Mobile] [Home]
[Disable Mobile View / Use Desktop Site]

[Enable Mobile View / Use Mobile Site]

All trademarks and copyrights on this page are owned by their respective parties. Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.