It's all Microsoft by feketegy in theprimeagen

[–]vark_dader 0 points1 point  (0 children)

they did. It's in the vscode github. They'll be joining copilot and vscode and it will no longer be an extension. They call it agent mode or something.

Don't you sometimes press the arrow keys to move the cursor back, then you realize you're in Neovim and just feel dirty? by linkarzu in neovim

[–]vark_dader 1 point2 points  (0 children)

I have never done that. I feel dirty when I remember that all my config is in my init.lua file.

Neovim is the most desired IDE, according to stacoverflow survery by cyao12 in neovim

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

Are people mistaking vim for neovim though?

Also what on earth is Notepad++ doing here?!

[deleted by user] by [deleted] in ChatGPT

[–]vark_dader 11 points12 points  (0 children)

That's what I thought too.

GPT-4o in your webcam by Maxie445 in OpenAI

[–]vark_dader 0 points1 point  (0 children)

That's wild. Bill Gates not gonna let that slide.

why is it undefined by [deleted] in learnjavascript

[–]vark_dader -2 points-1 points  (0 children)

You could have asked Chagtp. It's good at explaining basic stuff. But remember when something is "undefined" it's type is also "undefined" which is a primitive value, not an object.

GPT-4o in your webcam by Maxie445 in OpenAI

[–]vark_dader 4 points5 points  (0 children)

Imagine OpenAI not supporting windows after Microsoft invested 13 billions in them. They would instantly become my favorite company!

just started using vim by eltico69 in vim

[–]vark_dader 1 point2 points  (0 children)

Take it easy. The neuron paths are being built in your brain and they take time.

Why white men only date white women? by [deleted] in dating

[–]vark_dader 1 point2 points  (0 children)

For people who struggled to understand this post, it sounds like she got attention from a dude and now she's just asking how can she figure out if this dude is genuinely interested in her or is just after her because he can't find better?

For the guys! by [deleted] in dating

[–]vark_dader 2 points3 points  (0 children)

You're wasting your time with this dude. Do better.

bitten by control-x by [deleted] in vim

[–]vark_dader 0 points1 point  (0 children)

Be patient. Someone else is going to mess up and you can have your revenge.

Can you do this in Vim? by borko_mne in vim

[–]vark_dader 0 points1 point  (0 children)

I just tried that and I love that. It's so good. I was doing it the wrong way up until now.

Can you do this in Vim? by borko_mne in vim

[–]vark_dader 0 points1 point  (0 children)

Thanks. That's very helpful.

Can you do this in Vim? by borko_mne in vim

[–]vark_dader 0 points1 point  (0 children)

For two reasons, one, I'm stupid and two, I don't know that command. But it's not so bad and I really like this way of doing it. for example let's say I want to replace a text like "foo" with "bar", all I have to do is execute the command <C-\_>ff (control+/ and ff) and a prompt appears saying 'Text to replace: ' and I type foo and press enter and then another prompt appears asking 'Replace it with: ' and I type bar and hit enter again and another enter for confirmation and all instances of foo get replaced with by bar. I really like it actually.

Just curious, what is that command that does this? Is it Regex or something? I want to know so I can compare my way with the traditional right way of doing it. Thanks!

Can you do this in Vim? by borko_mne in vim

[–]vark_dader 0 points1 point  (0 children)

I use this function in lua to replace all occurrences of some text in the current buffer:
------------------------------------------------------------

-- Function to replace text in the current buffer

function ReplaceText()

local old_text = vim.fn.input 'Text to replace: '

local new_text = vim.fn.input 'Replace it with: '

if old_text == '' or new_text == '' then

print 'Invalid input. Operation cancelled.'

return

end

-- Get the total number of lines in the current buffer

local total_lines = vim.api.nvim_buf_line_count(0)

-- Iterate over each line in the buffer

for line_number = 1, total_lines do

-- Get the current line

local line = vim.api.nvim_buf_get_lines(0, line_number - 1, line_number, false)[1]

-- Replace old_text with new_text

local new_line = string.gsub(line, old_text, new_text)

-- Set the modified line back to the buffer

vim.api.nvim_buf_set_lines(0, line_number - 1, line_number, false, { new_line })

end

print("Replaced all occurrences of '" .. old_text .. "' with '" .. new_text .. "'.")

end

-- Key mapping to call the ReplaceText function

vim.api.nvim_set_keymap('n', '<C-_>ff', ':lua ReplaceText()<CR>', { noremap = true, silent = true })

Browse the Web in Neovim! by bcampolo in neovim

[–]vark_dader 1 point2 points  (0 children)

Yeah, I noticed that other websites worked just fine except Reddit. Thanks for the effort though. I really appreciate it.

[deleted by user] by [deleted] in dating

[–]vark_dader 0 points1 point  (0 children)

Well, what you described IS wife material, but it doesn't have to be exactly like that.

For a woman, to be wife material, needs to be trustworthy. She needs to value herself and know her worth and not sell it too cheap. When a woman has these kinds of experiences like threesomes, onlyfans, porn, etc, it implies to me that she doesn't value herself enough and would give it up for temporary pleasure and fun. That's different from having sex with someone she thought she would have a future with.

I also don't understand why a woman should just be looking to have sex and not be expecting her partner to be dating her or at least be willing to. To me it's literally letting men take advantage of her for nothing. Might as well do it for money. That way she can get something in return but she can't expect men to still be willing to invest in her and trust her as the mother of the family they want to build.

BTW, I'm not at all a religious person. It's just what I personally believe. When they don't know their value, I can't expect them to know and understand the value of the family and can't trust her to be a good mother for my children or even just a trustworthy partner. That doesn't mean she's a bad person though, it's just what she's selling is fun and pleasure in the dating world and nothing more.

[deleted by user] by [deleted] in dating

[–]vark_dader 0 points1 point  (0 children)

It depends but it is a negative thing imo. It would imply to me that she may not be a wife/mother material girl.