home.social

#vimrc — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #vimrc, aggregated by home.social.

  1. С Vim удобно программировать (часть II)

    Это вторая часть публикации. В первой мы разобрали основные настройки редактора, позволяющие сделать процесс набора программы более удобным. Здесь рассмотрим плагины и скрипты для запуска программ на разных языках из редактора Vim.

    habr.com/ru/articles/1025124/

    #linux #vim #vimrc #bash #diy_или_сделай_сам #repl #ide

  2. С Vim удобно программировать (часть II)

    Это вторая часть публикации. В первой мы разобрали основные настройки редактора, позволяющие сделать процесс набора программы более удобным. Здесь рассмотрим плагины и скрипты для запуска программ на разных языках из редактора Vim.

    habr.com/ru/articles/1025124/

    #linux #vim #vimrc #bash #diy_или_сделай_сам #repl #ide

  3. С Vim удобно программировать (часть II)

    Это вторая часть публикации. В первой мы разобрали основные настройки редактора, позволяющие сделать процесс набора программы более удобным. Здесь рассмотрим плагины и скрипты для запуска программ на разных языках из редактора Vim.

    habr.com/ru/articles/1025124/

    #linux #vim #vimrc #bash #diy_или_сделай_сам #repl #ide

  4. С Vim удобно программировать (часть II)

    Это вторая часть публикации. В первой мы разобрали основные настройки редактора, позволяющие сделать процесс набора программы более удобным. Здесь рассмотрим плагины и скрипты для запуска программ на разных языках из редактора Vim.

    habr.com/ru/articles/1025124/

    #linux #vim #vimrc #bash #diy_или_сделай_сам #repl #ide

  5. Do you use the Vim support in Obsidian? You know there's no ESC key on the iPhoneOS on-screen keyboard.

    Here's a minimal .obsidian.vimrc to use, which includes a remap that lets you use jj in insert mode to act as ESC

    #vimrc #obsidian #tips #tipoftheday #productivity

  6. Do you use the Vim support in Obsidian? You know there's no ESC key on the iPhoneOS on-screen keyboard.

    Here's a minimal .obsidian.vimrc to use, which includes a remap that lets you use jj in insert mode to act as ESC

    #vimrc #obsidian #tips #tipoftheday #productivity

  7. Do you use the Vim support in Obsidian? You know there's no ESC key on the iPhoneOS on-screen keyboard.

    Here's a minimal .obsidian.vimrc to use, which includes a remap that lets you use jj in insert mode to act as ESC

    #vimrc #obsidian #tips #tipoftheday #productivity

  8. Do you use the Vim support in Obsidian? You know there's no ESC key on the iPhoneOS on-screen keyboard.

    Here's a minimal .obsidian.vimrc to use, which includes a remap that lets you use jj in insert mode to act as ESC

    #vimrc #obsidian #tips #tipoftheday #productivity

  9. Do you use the Vim support in Obsidian? You know there's no ESC key on the iPhoneOS on-screen keyboard.

    Here's a minimal .obsidian.vimrc to use, which includes a remap that lets you use jj in insert mode to act as ESC

    #vimrc #obsidian #tips #tipoftheday #productivity

  10. I don't usually need my vimrc when I'm editing something w/ sudo -- but I really need to remember `sudoedit` or `sudo -e` for when I do ... (just wanted to :ALEFix some json because I don't want to think about the linter/fixer under the hood)

    #vimrc #shell

  11. I don't usually need my vimrc when I'm editing something w/ sudo -- but I really need to remember `sudoedit` or `sudo -e` for when I do ... (just wanted to :ALEFix some json because I don't want to think about the linter/fixer under the hood)

    #vimrc #shell

  12. I don't usually need my vimrc when I'm editing something w/ sudo -- but I really need to remember `sudoedit` or `sudo -e` for when I do ... (just wanted to :ALEFix some json because I don't want to think about the linter/fixer under the hood)

    #vimrc #shell

  13. I don't usually need my vimrc when I'm editing something w/ sudo -- but I really need to remember `sudoedit` or `sudo -e` for when I do ... (just wanted to :ALEFix some json because I don't want to think about the linter/fixer under the hood)

    #vimrc #shell

  14. It's 2024 anf currently I'm reading about #makefile. For the same project I've been reading about #vimrc. And yeah, this all feels right.

    In the last days I've run into a tainted kernel panic which I could only solve because of my years of #gentoo and #portage.

    And yeah - all of this feels really good and right!

  15. It's 2024 anf currently I'm reading about #makefile. For the same project I've been reading about #vimrc. And yeah, this all feels right.

    In the last days I've run into a tainted kernel panic which I could only solve because of my years of #gentoo and #portage.

    And yeah - all of this feels really good and right!

  16. It's 2024 anf currently I'm reading about #makefile. For the same project I've been reading about #vimrc. And yeah, this all feels right.

    In the last days I've run into a tainted kernel panic which I could only solve because of my years of #gentoo and #portage.

    And yeah - all of this feels really good and right!

  17. It's 2024 anf currently I'm reading about #makefile. For the same project I've been reading about #vimrc. And yeah, this all feels right.

    In the last days I've run into a tainted kernel panic which I could only solve because of my years of #gentoo and #portage.

    And yeah - all of this feels really good and right!

  18. It's 2024 anf currently I'm reading about #makefile. For the same project I've been reading about #vimrc. And yeah, this all feels right.

    In the last days I've run into a tainted kernel panic which I could only solve because of my years of #gentoo and #portage.

    And yeah - all of this feels really good and right!

  19. My #vimrc i wrote 20 years ago and still in use today

    " pancake's exposee for vim:
    let fs=0
    fun Exposee()
    if (g:fs == 0)
    res 1000
    vertical res 1000
    let g:fs=1
    else
    exe "normal \<C-W>="
    let g:fs=0
    endif
    endfun
    map <F10> :call Exposee()<cr>

    "some nice keymappings
    map <F1> :vsp<cr>
    map <F2> :sp<cr>
    map <F3> :sp<cr>:e .<cr>
    map <F4> :q<cr>
    map <F5> <C-W>=

    map <C-A> :FZF<cr>
    imap <C-O> <ESC><C-X><C-O>

    " fine zooming
    map <C-J> 2<C-W>+
    map <C-K> 2<C-W>-
    map <C-L> 2<C-W>>
    map <C-H> 2<C-W><

    " fine frame moving
    map <C-Y> <C-W>h
    map <C-U> <C-W>j
    map <C-I> <C-W>k
    map <C-O> <C-W>l

  20. My #vimrc i wrote 20 years ago and still in use today

    " pancake's exposee for vim:
    let fs=0
    fun Exposee()
    if (g:fs == 0)
    res 1000
    vertical res 1000
    let g:fs=1
    else
    exe "normal \<C-W>="
    let g:fs=0
    endif
    endfun
    map <F10> :call Exposee()<cr>

    "some nice keymappings
    map <F1> :vsp<cr>
    map <F2> :sp<cr>
    map <F3> :sp<cr>:e .<cr>
    map <F4> :q<cr>
    map <F5> <C-W>=

    map <C-A> :FZF<cr>
    imap <C-O> <ESC><C-X><C-O>

    " fine zooming
    map <C-J> 2<C-W>+
    map <C-K> 2<C-W>-
    map <C-L> 2<C-W>>
    map <C-H> 2<C-W><

    " fine frame moving
    map <C-Y> <C-W>h
    map <C-U> <C-W>j
    map <C-I> <C-W>k
    map <C-O> <C-W>l

  21. My #vimrc i wrote 20 years ago and still in use today

    " pancake's exposee for vim:
    let fs=0
    fun Exposee()
    if (g:fs == 0)
    res 1000
    vertical res 1000
    let g:fs=1
    else
    exe "normal \<C-W>="
    let g:fs=0
    endif
    endfun
    map <F10> :call Exposee()<cr>

    "some nice keymappings
    map <F1> :vsp<cr>
    map <F2> :sp<cr>
    map <F3> :sp<cr>:e .<cr>
    map <F4> :q<cr>
    map <F5> <C-W>=

    map <C-A> :FZF<cr>
    imap <C-O> <ESC><C-X><C-O>

    " fine zooming
    map <C-J> 2<C-W>+
    map <C-K> 2<C-W>-
    map <C-L> 2<C-W>>
    map <C-H> 2<C-W><

    " fine frame moving
    map <C-Y> <C-W>h
    map <C-U> <C-W>j
    map <C-I> <C-W>k
    map <C-O> <C-W>l

  22. My #vimrc i wrote 20 years ago and still in use today

    " pancake's exposee for vim:
    let fs=0
    fun Exposee()
    if (g:fs == 0)
    res 1000
    vertical res 1000
    let g:fs=1
    else
    exe "normal \<C-W>="
    let g:fs=0
    endif
    endfun
    map <F10> :call Exposee()<cr>

    "some nice keymappings
    map <F1> :vsp<cr>
    map <F2> :sp<cr>
    map <F3> :sp<cr>:e .<cr>
    map <F4> :q<cr>
    map <F5> <C-W>=

    map <C-A> :FZF<cr>
    imap <C-O> <ESC><C-X><C-O>

    " fine zooming
    map <C-J> 2<C-W>+
    map <C-K> 2<C-W>-
    map <C-L> 2<C-W>>
    map <C-H> 2<C-W><

    " fine frame moving
    map <C-Y> <C-W>h
    map <C-U> <C-W>j
    map <C-I> <C-W>k
    map <C-O> <C-W>l

  23. My #vimrc i wrote 20 years ago and still in use today

    " pancake's exposee for vim:
    let fs=0
    fun Exposee()
    if (g:fs == 0)
    res 1000
    vertical res 1000
    let g:fs=1
    else
    exe "normal \<C-W>="
    let g:fs=0
    endif
    endfun
    map <F10> :call Exposee()<cr>

    "some nice keymappings
    map <F1> :vsp<cr>
    map <F2> :sp<cr>
    map <F3> :sp<cr>:e .<cr>
    map <F4> :q<cr>
    map <F5> <C-W>=

    map <C-A> :FZF<cr>
    imap <C-O> <ESC><C-X><C-O>

    " fine zooming
    map <C-J> 2<C-W>+
    map <C-K> 2<C-W>-
    map <C-L> 2<C-W>>
    map <C-H> 2<C-W><

    " fine frame moving
    map <C-Y> <C-W>h
    map <C-U> <C-W>j
    map <C-I> <C-W>k
    map <C-O> <C-W>l

  24. My #vimrc is too long for one toot:

    " Enable line numbers
    set number
    " Enable syntax highlighting
    syntax on
    " Highlight current line
    set cursorline
    " Make tabs as wide as two spaces
    set tabstop=2
    " Show “invisible” characters
    set lcs=tab:▸\ ,trail:·,eol:¬,nbsp:_
    set list
    " Highlight searches
    set hlsearch
    " Ignore case of searches
    set ignorecase
    " Highlight dynamically as pattern is typed
    set incsearch
    " Always show status line
    set laststatus=2
    " Enable mouse in all modes
    set mouse=a

  25. I'm afraid to post my real #vimrc because it's full of frivolous plugins I'd get roasted for, and anyway I mostly use neovim these days, but here's what I start with when I need a halfway sane editor on a remote machine:

    :set sw=4 ts=4 et ai lbr

    RIP, Bram. I had very brief interactions with him, when I sent a PR on GitHub and he politely informed me that's not how we do things and to send an email. (Then I accidentally became maintainer of the syntax file I was trying to edit.)

  26. I'm afraid to post my real #vimrc because it's full of frivolous plugins I'd get roasted for, and anyway I mostly use neovim these days, but here's what I start with when I need a halfway sane editor on a remote machine:

    :set sw=4 ts=4 et ai lbr

    RIP, Bram. I had very brief interactions with him, when I sent a PR on GitHub and he politely informed me that's not how we do things and to send an email. (Then I accidentally became maintainer of the syntax file I was trying to edit.)

  27. I'm afraid to post my real because it's full of frivolous plugins I'd get roasted for, and anyway I mostly use neovim these days, but here's what I start with when I need a halfway sane editor on a remote machine:

    :set sw=4 ts=4 et ai lbr

    RIP, Bram. I had very brief interactions with him, when I sent a PR on GitHub and he politely informed me that's not how we do things and to send an email. (Then I accidentally became maintainer of the syntax file I was trying to edit.)

  28. I'm afraid to post my real #vimrc because it's full of frivolous plugins I'd get roasted for, and anyway I mostly use neovim these days, but here's what I start with when I need a halfway sane editor on a remote machine:

    :set sw=4 ts=4 et ai lbr

    RIP, Bram. I had very brief interactions with him, when I sent a PR on GitHub and he politely informed me that's not how we do things and to send an email. (Then I accidentally became maintainer of the syntax file I was trying to edit.)

  29. I'm afraid to post my real #vimrc because it's full of frivolous plugins I'd get roasted for, and anyway I mostly use neovim these days, but here's what I start with when I need a halfway sane editor on a remote machine:

    :set sw=4 ts=4 et ai lbr

    RIP, Bram. I had very brief interactions with him, when I sent a PR on GitHub and he politely informed me that's not how we do things and to send an email. (Then I accidentally became maintainer of the syntax file I was trying to edit.)

  30. among the many i like

    set nowrap
    set colorcolumn=80

    #vimrc

  31. among the many i like

    set nowrap
    set colorcolumn=80

    #vimrc

  32. among the many i like

    set nowrap
    set colorcolumn=80

    #vimrc

  33. among the many i like

    set nowrap
    set colorcolumn=80

    #vimrc

  34. among the many i like

    set nowrap
    set colorcolumn=80

    #vimrc

  35. #Checkliste für #Vim als #IDE für #Python

    #Checkliste für die #Vervollständigung der #Datei #Vimrc

    Bezüglich #Debugging sagt der Vortragende er benutze dafür nicht Vim, sondern #iPython und #ipdb (#IPython #pdb).

    I will insert breakpoints with a shortkey, open another terminal window and start my program, waiting until the breakpoint is hit and then inspect the scope.

    ipython.org/
    pypi.org/project/ipdb/

    youtu.be/YhqsjUUHj6g

  36. @philiph This is my "standard" vimrc these days, I have gotten way, way more stuff crammed into one in the past with vim bundles and plugins and and... but this works pretty well for my needs.

    ix.io/4hqu

    #vim #vimrc