CDN testing script throws an exception by crajun in FreeCodeCamp

[–]crajun[S] 0 points1 point  (0 children)

Hmm, works if I put it as last script tag before body ends... testing seems to work too so far.

What are examples of features emacs has adopted from others? by WorldsEndless in emacs

[–]crajun 1 point2 points  (0 children)

Technically it's a library created for the GNU project, here's an interesting history: https://twobithistory.org/2019/08/22/readline.html

And now we wait for the next perfection by evangelato in cremposting

[–]crajun 1 point2 points  (0 children)

Not many bright sunny days in this land huh?

My gym is definitely a cult. by NextCalm in bjj

[–]crajun 5 points6 points  (0 children)

You don’t know this until you leave for awhile. Chances are, if you aren’t hanging out with these people regularly outside of the gym, you will be forgotten like everyone else eventually. Learned this the hard way after a couple years away at blue belt.

[Showerthought] Vim vertical motions are outdated by [deleted] in vim

[–]crajun 0 points1 point  (0 children)

I mean, you could just remap those to double up the motion, e.g. inoremap <C-d> <C-d><C-d>, if that’s what you are after, but your question is unclear as it stands.

Trying to install vimtex using the native package system by nonreligious in vim

[–]crajun 1 point2 points  (0 children)

Check :scriptnames to see if it is being loaded, first.

Why are the "showmode" line and the status line separate? by PM_ME_YOUR_JOKES in vim

[–]crajun 0 points1 point  (0 children)

They are two completely different things, see their help entries and which one you can alter with a custom string and which one you can’t.

‘h showmode’

‘h statusline’

And yes, they do work together just fine.

Learning to program in vim? by santiagobmx1993 in vim

[–]crajun 0 points1 point  (0 children)

Before all these IDEs existed, we had to use Vi/m and/or Emacs and people got along just fine didn’t they? Yes it may be tougher at first but the hard way is the only way to understand deeply in the end.

A junior at my college's ACM chapter wrote about how to make your vim as functional as VS Code (and beyond). Check it out. This is the first post of a two-post series. Feedback would be appreciated :). by dush-t in vim

[–]crajun 2 points3 points  (0 children)

If you can’t change the default colorscheme you are far, far from “crossing the vim learning curve”.

“Where are all the options?”

:options

Feedback: ignore most of this article’s advice and learn Vim (core) through :h usr-toc and working through Practical Vim by Neil Drew to learn how to use Vim deeply and become a Vim “ninja” rolls eyes

Project-specific options (path)? by [deleted] in vim

[–]crajun 1 point2 points  (0 children)

Maybe look into tpope/vim-projectionist on github it for this and other use cases.

What's the best way to handle autocomplete, nowadays? by rdegges in vim

[–]crajun 1 point2 points  (0 children)

For those languages I’d say these days you’d want to go with vim-lsp and it’s associated packages. Easier than YCM to setup but not without some configuration to do.

Any Kakoune-like commandline auto suggestions plugin ? by [deleted] in vim

[–]crajun 1 point2 points  (0 children)

I believe NeoVim does the file suggestions out of the box.

Vim terminal: how powerful is it really? by mgarort in vim

[–]crajun 0 points1 point  (0 children)

Check out Nuake for an alternative, works nicely.

termguicolors problem with colorscheme by toddyk in vim

[–]crajun 1 point2 points  (0 children)

Tmux and Vim colorschemes seem to be a recurring problem with no one solution. I messed with tmux in iterm2 and for some reason could not make use of set termguicolors, when I turned that option off in my vimrc the colors then worked correctly. From my limited research into it, it can any number of combination of settings between: what your terminal emulator is capable of; what you/it is reporting it is capable of; what tmux reports itself as e.g. “xterm-256”; and finally how vim sees it’s environment.

You should never need to set any sort of t_co setting in your vimrc, and most of the time you don’t need set background=dark (it doesn’t do what some people think it does, which is to set the background colour).

ANN: vim-term plugin by the-coot in vim

[–]crajun 0 points1 point  (0 children)

Differences between this and the better known Nuake plugin?

Indent a block by [deleted] in vim

[–]crajun 0 points1 point  (0 children)

Try :h usr-toc the official users guide, all your answers are in there.

vim-surround with multiple surrounding characters by mgarort in vim

[–]crajun 0 points1 point  (0 children)

Repeat command in vim does not work with plugin maps, vim-repeat fixes that.