Re: Help with pynvim for neovim needed

2024-03-28 Thread Enno
ows #!/usr/bin/python3.11 Le mercredi 27 mars 2024 à 19:59:36 UTC+1, Marek Stepanek a écrit : > Thx Enno for the reply. I meanwhile could resolve the problem. I activated > a virtual environment for Python with the help of > https://python.land/virtual-environments/virtualenv#google_vigne

Re: Help with pynvim for neovim needed

2024-03-26 Thread Enno
It is not clear what is to be achieved, but for Python support in Vim one should ensure that `!python3 -V`, and `:python3 import sys; print(sys.version)")` coincide. For Neovim, I'd refer to the experts at https://github.com/neovim/neovim/issues/ Le lundi 25 mars 2024 à 17:55:45 UTC+1, Marek

Re: How to setup an external command to indent bash script?

2021-04-05 Thread Enno
This commit https://github.com/z0mbix/vim-shfmt/commit/1f0e72322a8cb38805c276f7f3d10e21822b5376 to the Readme of the vim-shfmt plugin explains how to set up to indent shell scripts with shfmt. Le samedi 3 avril 2021 à 03:50:43 UTC+2, Gary Johnson a écrit : > On 2021-04-02, Peng Yu wrote: >

Re: PowerShell in vim :terminal - setting the Execution Policy

2021-02-05 Thread Enno
1. By `:terminal powershell.exe -ep RemoteSigned` 2. I do not know. Are you sure that the Start menu does not call `pwsh.exe` instead? Le lundi 1 février 2021 à 14:05:57 UTC+1, m a écrit : > Hi all, > I want to run a Windows PowerShell in a vim :terminal. > > If I start it with > > :terminal

Re: VIM on Windows Work Laptop

2020-03-07 Thread Enno
See :help vimfiles for the location of the configuration files on each operating system. This Vimscript code set the global variable g:vimfiles_dir to their path: let s: vimfiles_dir = split(, ',')[0] if isdirectory(s:vimfiles_dir) let g:vimfiles_dir = s:vimfiles_dir elseif if

Re: How to let previous opened fold open reentering vim buffer.

2019-10-02 Thread Enno
The command `za` toggles the fold. Try instead silent autocmd! BufEnter *.vim normal! zv to open sufficiently many folds to show the line where the cursor is at. Le vendredi 27 septembre 2019 12:58:23 UTC-3, Ni Va a écrit : > > Hi, > > > I try this in _vimrc in order to let a previous opened

Re: awkembed.vim

2019-07-26 Thread Enno
Le vendredi 26 juillet 2019 16:18:13 UTC-3, Christian Brabandt a écrit : > On Fr, 26 Jul 2019, 'J S' via vim_use wrote: > > > I think it should be pretty clear by now that if I thought I could do this > > myself, I'd have already done so - and would not have posted to this list > > at all. > >

Re: job_start the make command

2019-07-26 Thread Enno
Le lundi 25 septembre 2017 06:22:14 UTC-3, Vincent Stone a écrit : > Asynchrun is too heavy to be included in the vim just for make and grep. I > prefer the vim-make-background plugin. Is there any plan to include it? > > --Vincent Stone In defense of AsyncRun, it worked unfailingly for the

Re: execute an alias with vim

2019-07-10 Thread Enno
Le mercredi 10 juillet 2019 05:30:19 UTC-3, Mathieu Roux a écrit : > Hello, > > I use many text files to write many things on my laptop, and i use > aliases to access them. > For exemple, suppose that i have the alias "foo" to access ~/bar with > vim. > > alias foo='vim ~/bar' > > So it works

Re: follow link on internet with vim

2019-07-09 Thread Enno
Le mardi 9 juillet 2019 10:32:52 UTC-3, Tony Mechelynck a écrit : > On Tue, Jul 9, 2019 at 2:56 PM Mathieu Roux wrote: > > > > Hello, > > > > Is it possible to follow a link with vim? for exemple, if my cursor is > > on https://fr.wikipedia.org/wiki/Vim > > i want to use my browser to go to this

Re: history of ". values

2017-11-25 Thread Enno
Le jeudi 9 novembre 2017 15:03:59 UTC-3, Renato Fabbri a écrit : > the last inserted text is kept in the ". register (@. variable). > It would be nice to keep a small history of the last ". values, > maybe through "lkjh. > But I found no {event} related to registers > (necessary to trigger

Re: Remapping CTRL-L, CTRL-K etc… as used in line/dictionary completion

2016-12-09 Thread Enno
Le vendredi 9 décembre 2016 10:18:28 UTC+1, Lifepillar a écrit : > On 09/12/2016 10:07, h_east wrote: > > Hi Lifepillar, > > > > 2016-12-9(Fri) 4:35:01 UTC+9 Lifepillar: > >> Hello, > >> is it possible to remap //... so that my mapping is invoked > >> when //... is pressed during line/dictionary

Re: how to make the dot command repeat the command in the plugin ?

2016-08-23 Thread Enno
Using the plugin repeat.vim at https://github.com/tpope/vim-repeat, if, for example, nnoremap cc :Comment then :Comment!:silent! call repeat#set("cc", 1) makes . repeat :Comment. -- -- You received this message from the "vim_use" maillist. Do not top-post! Type your reply below the text

Re: distribute my unicode plugin with vim?

2016-05-20 Thread Enno
Le vendredi 20 mai 2016 14:08:12 UTC+2, Christian Brabandt a écrit : > Hi, > as some of you may know, I am maintaining a little unicode plugin > https://github.com/chrisbra/unicode.vim > > Now I got an issue, that asks if it would be possible to distribute this > plugin with Vim, so I am asking

Re: Correct filename tag matching for ctlr-]

2016-04-25 Thread Enno
F > IF_RECIPE_H_ .\dirA\dirB\dirC\IF_Recipe.h9;" d > > Thanks in Advance, > > -Kent Hello Kent, Might :h 'suffixesadd' help you?! Enno -- -- You received this message from the "vim_use" maillist. Do not top-post! Type your reply below the text you are rep

Re: make operator maps such as ib not change jump list

2016-02-22 Thread Enno
Le samedi 20 février 2016 20:37:58 UTC+1, Enno a écrit : > Hello, > > In a file with the content > > Oui (Non) > > and the cursor on `O`, after typing > > m`foyib`` > > the cursor is on `o`. > > But because `:h jump-motions` does not list the opera

make operator maps such as ib not change jump list

2016-02-20 Thread Enno
al ib but this message is about asking if Vim should not default, according to the documentation at least, to this behavior?! Best regards Enno -- -- You received this message from the "vim_use" maillist. Do not top-post! Type your reply below the text you are replying to. For more inf

Re: How to avoid zip.vim being used when docx2txt is installed to open docx files?

2015-10-30 Thread Enno
Le jeudi 29 octobre 2015 23:41:43 UTC+1, Enno a écrit : > Le mardi 24 mars 2015 16:09:09 UTC+1, Charles Campbell a écrit : > > Peng Yu wrote: > > >> Modify g:zipPlugin_ext to hold whichever suffices you want zip.vim to > > >> handle and put it into your .vimrc.

Re: How to avoid zip.vim being used when docx2txt is installed to open docx files?

2015-10-29 Thread Enno
Le mardi 24 mars 2015 16:09:09 UTC+1, Charles Campbell a écrit : > Peng Yu wrote: > >> Modify g:zipPlugin_ext to hold whichever suffices you want zip.vim to > >> handle and put it into your .vimrc. This change will take effect only in > >> subsequent instances of vim, not a currently running

Re: vim with servername as default editor in zsh

2015-10-10 Thread Enno
Thanks, that's it. Apparently my understanding of the default editor set by $EDITOR/VISUAL was off-beam. -- -- You received this message from the "vim_use" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php

vim with servername as default editor in zsh

2015-10-09 Thread Enno
in there's an executable file 'vim' containing #!/bin/sh vim=$(which 2>/dev/null -a vim | tail -n 1) exec $vim --servername vim "$@" Then $EDITOR and $echo $VISUAL show 'vim', but 'edit' and ':echo v:servername' is void (in contrast to 'vim' and ':echo v:servername' that shows 'VIM'

Re: dw but not dp

2015-06-21 Thread Enno
By the way, 'dV}' (and 'dV{') is the single case where the 'v/V/c-v' operator command happens to be used over here, especially when coding. I'm trying out onoremap expr } l:spell ? 'V}' : '}' onoremap expr { l:spell ? 'V{' : '{' -- -- You received this message from the vim_use maillist. Do

Re: conversion file pattern - regex pattern

2015-03-24 Thread Enno
Le vendredi 6 mars 2015 17:47:15 UTC+1, Enno a écrit : To check if a file path 'path' matches backupskip, the naive try path ~=# backupskip does not work because backupskip is a file pattern as used for autocmd events. Is there a function 'file2regex()' that converts backupskip to a Vim

Re: conversion file pattern - regex pattern

2015-03-12 Thread Enno
Le vendredi 6 mars 2015 17:47:15 UTC+1, Enno a écrit : To check if a file path 'path' matches backupskip, the naive try path ~=# backupskip does not work because backupskip is a file pattern as used for autocmd events. Is there a function 'file2regex()' that converts backupskip to a Vim

Re: conversion file pattern - regex pattern

2015-03-12 Thread Enno
Le vendredi 6 mars 2015 17:47:15 UTC+1, Enno a écrit : To check if a file path 'path' matches backupskip, the naive try path ~=# backupskip does not work because backupskip is a file pattern as used for autocmd events. Is there a function 'file2regex()' that converts backupskip to a Vim

conversion file pattern - regex pattern

2015-03-06 Thread Enno
To check if a file path 'path' matches backupskip, the naive try path ~=# backupskip does not work because backupskip is a file pattern as used for autocmd events. Is there a function 'file2regex()' that converts backupskip to a Vim regex pattern so that path ~=# file2regex(backupskip) is

Re: obtain current visual selection

2015-02-28 Thread Enno
Le mercredi 11 février 2015 21:54:54 UTC+1, Enno a écrit : Le mardi 10 février 2015 09:22:35 UTC+1, Enno a écrit : Hello, There is a thread on StackOverflow labelled How to get visually selected text in VimScript The naive and stable approach would be let old_reg = @v

Re: obtain current visual selection

2015-02-11 Thread Enno
Le mercredi 11 février 2015 17:13:12 UTC+1, Ben Fritz a écrit : On Wednesday, February 11, 2015 at 3:26:14 AM UTC-6, Enno wrote: Le mardi 10 février 2015 09:22:35 UTC+1, Enno a écrit : Hello, There is a thread on StackOverflow labelled How to get visually selected text

Re: obtain current visual selection

2015-02-11 Thread Enno
Le mardi 10 février 2015 09:22:35 UTC+1, Enno a écrit : Hello, There is a thread on StackOverflow labelled How to get visually selected text in VimScript The naive and stable approach would be let old_reg = @v normal! gvvy let raw_search = @v let @v = old_reg return

Re: obtain current visual selection

2015-02-11 Thread Enno
Le mardi 10 février 2015 09:22:35 UTC+1, Enno a écrit : Hello, There is a thread on StackOverflow labelled How to get visually selected text in VimScript The naive and stable approach would be let old_reg = @v normal! gvvy let raw_search = @v let @v = old_reg return

Re: obtain current visual selection

2015-02-11 Thread Enno
Le mardi 10 février 2015 09:22:35 UTC+1, Enno a écrit : Hello, There is a thread on StackOverflow labelled How to get visually selected text in VimScript The naive and stable approach would be let old_reg = @v normal! gvvy let raw_search = @v let @v = old_reg return

obtain current visual selection

2015-02-10 Thread Enno
://github.com/haya14busa/vim-asterisk/blob/4fda3a4d90926512fbb10eda8b7b0491c650eb5e/autoload/asterisk.vim#L163 Is there a simple solution at all? Enno -- -- You received this message from the vim_use maillist. Do not top-post! Type your reply below the text you are replying to. For more information

linux terminal vim: use autogenerated servername by default

2015-01-15 Thread Enno
Under Windows, terminal Vim uses an automatically generated servername by default (assuming that Vim has +clientserver). Under Linux, this is disabled by default. Why, and is there a setting to change this? The procedure proposed at

Re: history for dot operator

2014-11-21 Thread Enno
Supposedly the installation of maps refers to a lot of keys having to be remapped to keep track of the edit operation history and not to the keys that eventually access this history. -- -- You received this message from the vim_use maillist. Do not top-post! Type your reply below the text you

Re: history for dot operator

2014-11-17 Thread Enno
Le vendredi 14 novembre 2014 16:10:42 UTC+1, Ben Fritz a écrit : On Friday, November 14, 2014 5:44:45 AM UTC-6, Enno wrote: Is there, perhaps via a Plugin, a way to recover the second last text editing operation in normal mode ? The dot '.' operator keeps only the last operation. Nope

history for dot operator

2014-11-14 Thread Enno
Is there, perhaps via a Plugin, a way to recover the second last text editing operation in normal mode ? The dot '.' operator keeps only the last operation. -- -- You received this message from the vim_use maillist. Do not top-post! Type your reply below the text you are replying to. For more

make textobjects i[,i{... recognize escaped delimiters

2014-11-12 Thread Enno
How to configure vim so that textobjects such as i[,i{,... also take into account matching escaped delimiters such as \[..\], \{...\}? These are common in TeX. -- -- You received this message from the vim_use maillist. Do not top-post! Type your reply below the text you are replying to. For