I'm trying to subscribe from a different email provider, but the mail keeps getting rejected. The provider automatically adds a signature to the bottom of the blank email I'm sending -- is that what's causing the rejection?
--
--
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
---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/vKZDkYGZe2ytbuQ6oGoVMbkIom2RPq-GxxjkjmVMyLsOg4qL1yCIiedOlQIgfyygpIcd0WwBTOR8FklkNA7Nz-aI1s1vm8kKWMNWr1ZBEd4%3D%40protonmail.com.
Sunday, November 28, 2021
Wednesday, November 24, 2021
Re: [Pymode]: error: Pymode requires vim compiled with +python3
Hi!
On Wed, 24 Nov 2021 21:18:13 -0800 (PST)
kaushal <kaushalshriyan@gmail.com> wrote:
> Hi,
>
> I am running CentOS Linux release 7.9.2009 (Core) and have enabled below
> entry in .vimrc file
>
> $cat .vimrc
> set shiftwidth=2
> set shiftround
> set tabstop=4
> set softtabstop=4
> set noexpandtab
> set number
> set ruler
> set noautoindent
> set nosmartindent
> set noincsearch
> syntax enable
> $
>
> when i do vim testpythonscript.py I am facing the below Pymode error
>
> $vim testpythonscript.py
>
> [Pymode]: error: Pymode requires vim compiled with +python3 (exclusively).
> Most of features will be disabled.
> 0,0-1 All
Do you mean https://github.com/python-mode/python-mode ?
>
> $vim --version
> VIM - Vi IMproved 7.4 (2013 Aug 10, compiled Dec 15 2020 16:44:08)
> Included patches: 1-207, 209-629
This is an old version of vim. you can try building newer cpython3 and vim
using https://en.wikipedia.org/wiki/GNU_Compiler_Collection / etc.using
"--prefix=$HOME/apps/myprefix".
> Huge version without GUI. Features included (+) or not (-):
> +acl +farsi +mouse_netterm +syntax
> +arabic +file_in_path +mouse_sgr +tag_binary
> +autocmd +find_in_path -mouse_sysmouse +tag_old_static
> -balloon_eval +float +mouse_urxvt -tag_any_white
> -browse +folding +mouse_xterm -tcl
> ++builtin_terms -footer +multi_byte +terminfo
> +byte_offset +fork() +multi_lang +termresponse
> +cindent +gettext -mzscheme +textobjects
> -clientserver -hangul_input +netbeans_intg +title
> -clipboard +iconv +path_extra -toolbar
> +cmdline_compl +insert_expand +perl +user_commands
> +cmdline_hist +jumplist +persistent_undo +vertsplit
> +cmdline_info +keymap +postscript +virtualedit
> +comments +langmap +printer +visual
> +conceal +libcall +profile +visualextra
> +cryptv +linebreak +python/dyn +viminfo
> +cscope +lispindent -python3 +vreplace
> +cursorbind +listcmds +quickfix +wildignore
> +cursorshape +localmap +reltime +wildmenu
> +dialog_con -lua +rightleft +windows
> +diff +menu +ruby/dyn +writebackup
> +digraphs +mksession +scrollbind -X11
> -dnd +modify_fname +signs -xfontset
> -ebcdic +mouse +smartindent -xim
> +emacs_tags -mouseshape -sniff -xsmp
> +eval +mouse_dec +startuptime -xterm_clipboard
> +ex_extra +mouse_gpm +statusline -xterm_save
> +extra_search -mouse_jsbterm -sun_workshop -xpm
> system vimrc file: "/etc/vimrc"
> user vimrc file: "$HOME/.vimrc"
> 2nd user vimrc file: "~/.vim/vimrc"
> user exrc file: "$HOME/.exrc"
> fall-back for $VIM: "/etc"
> f-b for $VIMRUNTIME: "/usr/share/vim/vim74"
> Compilation: gcc -c -I. -Iproto -DHAVE_CONFIG_H -O2 -g -pipe -Wall
> -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4
> -grecord-gcc-switches -m64 -mtune=generic -D_GNU_SOURCE
> -D_FILE_OFFSET_BITS=64 -D__linux__ -D_REENTRANT -U_FORTIFY_SOURCE
> -D_FORTIFY_SOURCE=1
> Linking: gcc -L. -Wl,-z,relro -fstack-protector -rdynamic
> -Wl,-export-dynamic -Wl,--enable-new-dtags
> -Wl,-rpath,/usr/lib64/perl5/CORE -Wl,-z,relro -L/usr/local/lib
> -Wl,--as-needed -o vim -lm -lnsl -lselinux -lncurses -lacl -lattr
> -lgpm -ldl -Wl,--enable-new-dtags -Wl,-rpath,/usr/lib64/perl5/CORE
> -fstack-protector -L/usr/lib64/perl5/CORE -lperl -lresolv -lnsl -ldl -lm
> -lcrypt -lutil -lpthread -lc
>
> The python3 feature is not available as per the above output.
>
> Please guide. Thanks in advance.
>
> Best Regards,
>
> Kaushal
>
--
Shlomi Fish https://www.shlomifish.org/
https://github.com/shlomif/validate-your-html - Validate Your HTML
Real programmers use a nice editor and a nice programming language and get it
done in less than O(N!).
— vanguard on Freenode's ##programming
Please reply to list if it's a mailing list post - https://shlom.in/reply .
--
--
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
---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/20211125082634.7f7cdfe7%40shlomifish.org.
On Wed, 24 Nov 2021 21:18:13 -0800 (PST)
kaushal <kaushalshriyan@gmail.com> wrote:
> Hi,
>
> I am running CentOS Linux release 7.9.2009 (Core) and have enabled below
> entry in .vimrc file
>
> $cat .vimrc
> set shiftwidth=2
> set shiftround
> set tabstop=4
> set softtabstop=4
> set noexpandtab
> set number
> set ruler
> set noautoindent
> set nosmartindent
> set noincsearch
> syntax enable
> $
>
> when i do vim testpythonscript.py I am facing the below Pymode error
>
> $vim testpythonscript.py
>
> [Pymode]: error: Pymode requires vim compiled with +python3 (exclusively).
> Most of features will be disabled.
> 0,0-1 All
Do you mean https://github.com/python-mode/python-mode ?
>
> $vim --version
> VIM - Vi IMproved 7.4 (2013 Aug 10, compiled Dec 15 2020 16:44:08)
> Included patches: 1-207, 209-629
This is an old version of vim. you can try building newer cpython3 and vim
using https://en.wikipedia.org/wiki/GNU_Compiler_Collection / etc.using
"--prefix=$HOME/apps/myprefix".
> Huge version without GUI. Features included (+) or not (-):
> +acl +farsi +mouse_netterm +syntax
> +arabic +file_in_path +mouse_sgr +tag_binary
> +autocmd +find_in_path -mouse_sysmouse +tag_old_static
> -balloon_eval +float +mouse_urxvt -tag_any_white
> -browse +folding +mouse_xterm -tcl
> ++builtin_terms -footer +multi_byte +terminfo
> +byte_offset +fork() +multi_lang +termresponse
> +cindent +gettext -mzscheme +textobjects
> -clientserver -hangul_input +netbeans_intg +title
> -clipboard +iconv +path_extra -toolbar
> +cmdline_compl +insert_expand +perl +user_commands
> +cmdline_hist +jumplist +persistent_undo +vertsplit
> +cmdline_info +keymap +postscript +virtualedit
> +comments +langmap +printer +visual
> +conceal +libcall +profile +visualextra
> +cryptv +linebreak +python/dyn +viminfo
> +cscope +lispindent -python3 +vreplace
> +cursorbind +listcmds +quickfix +wildignore
> +cursorshape +localmap +reltime +wildmenu
> +dialog_con -lua +rightleft +windows
> +diff +menu +ruby/dyn +writebackup
> +digraphs +mksession +scrollbind -X11
> -dnd +modify_fname +signs -xfontset
> -ebcdic +mouse +smartindent -xim
> +emacs_tags -mouseshape -sniff -xsmp
> +eval +mouse_dec +startuptime -xterm_clipboard
> +ex_extra +mouse_gpm +statusline -xterm_save
> +extra_search -mouse_jsbterm -sun_workshop -xpm
> system vimrc file: "/etc/vimrc"
> user vimrc file: "$HOME/.vimrc"
> 2nd user vimrc file: "~/.vim/vimrc"
> user exrc file: "$HOME/.exrc"
> fall-back for $VIM: "/etc"
> f-b for $VIMRUNTIME: "/usr/share/vim/vim74"
> Compilation: gcc -c -I. -Iproto -DHAVE_CONFIG_H -O2 -g -pipe -Wall
> -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4
> -grecord-gcc-switches -m64 -mtune=generic -D_GNU_SOURCE
> -D_FILE_OFFSET_BITS=64 -D__linux__ -D_REENTRANT -U_FORTIFY_SOURCE
> -D_FORTIFY_SOURCE=1
> Linking: gcc -L. -Wl,-z,relro -fstack-protector -rdynamic
> -Wl,-export-dynamic -Wl,--enable-new-dtags
> -Wl,-rpath,/usr/lib64/perl5/CORE -Wl,-z,relro -L/usr/local/lib
> -Wl,--as-needed -o vim -lm -lnsl -lselinux -lncurses -lacl -lattr
> -lgpm -ldl -Wl,--enable-new-dtags -Wl,-rpath,/usr/lib64/perl5/CORE
> -fstack-protector -L/usr/lib64/perl5/CORE -lperl -lresolv -lnsl -ldl -lm
> -lcrypt -lutil -lpthread -lc
>
> The python3 feature is not available as per the above output.
>
> Please guide. Thanks in advance.
>
> Best Regards,
>
> Kaushal
>
--
Shlomi Fish https://www.shlomifish.org/
https://github.com/shlomif/validate-your-html - Validate Your HTML
Real programmers use a nice editor and a nice programming language and get it
done in less than O(N!).
— vanguard on Freenode's ##programming
Please reply to list if it's a mailing list post - https://shlom.in/reply .
--
--
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
---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/20211125082634.7f7cdfe7%40shlomifish.org.
[Pymode]: error: Pymode requires vim compiled with +python3
Hi,
--
--
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
---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/26319113-8a07-44d4-bbd0-62215782f72dn%40googlegroups.com.
I am running CentOS Linux release 7.9.2009 (Core) and have enabled below entry in .vimrc file
$cat .vimrc
set shiftwidth=2
set shiftround
set tabstop=4
set softtabstop=4
set noexpandtab
set number
set ruler
set noautoindent
set nosmartindent
set noincsearch
syntax enable
set shiftwidth=2
set shiftround
set tabstop=4
set softtabstop=4
set noexpandtab
set number
set ruler
set noautoindent
set nosmartindent
set noincsearch
syntax enable
$
when i do vim testpythonscript.py I am facing the below Pymode error
$vim testpythonscript.py
[Pymode]: error: Pymode requires vim compiled with +python3 (exclusively). Most of features will be disabled. 0,0-1 All
$vim --version
VIM - Vi IMproved 7.4 (2013 Aug 10, compiled Dec 15 2020 16:44:08)
Included patches: 1-207, 209-629
Huge version without GUI. Features included (+) or not (-):
+acl +farsi +mouse_netterm +syntax
+arabic +file_in_path +mouse_sgr +tag_binary
+autocmd +find_in_path -mouse_sysmouse +tag_old_static
-balloon_eval +float +mouse_urxvt -tag_any_white
-browse +folding +mouse_xterm -tcl
++builtin_terms -footer +multi_byte +terminfo
+byte_offset +fork() +multi_lang +termresponse
+cindent +gettext -mzscheme +textobjects
-clientserver -hangul_input +netbeans_intg +title
-clipboard +iconv +path_extra -toolbar
+cmdline_compl +insert_expand +perl +user_commands
+cmdline_hist +jumplist +persistent_undo +vertsplit
+cmdline_info +keymap +postscript +virtualedit
+comments +langmap +printer +visual
+conceal +libcall +profile +visualextra
+cryptv +linebreak +python/dyn +viminfo
+cscope +lispindent -python3 +vreplace
+cursorbind +listcmds +quickfix +wildignore
+cursorshape +localmap +reltime +wildmenu
+dialog_con -lua +rightleft +windows
+diff +menu +ruby/dyn +writebackup
+digraphs +mksession +scrollbind -X11
-dnd +modify_fname +signs -xfontset
-ebcdic +mouse +smartindent -xim
+emacs_tags -mouseshape -sniff -xsmp
+eval +mouse_dec +startuptime -xterm_clipboard
+ex_extra +mouse_gpm +statusline -xterm_save
+extra_search -mouse_jsbterm -sun_workshop -xpm
system vimrc file: "/etc/vimrc"
user vimrc file: "$HOME/.vimrc"
2nd user vimrc file: "~/.vim/vimrc"
user exrc file: "$HOME/.exrc"
fall-back for $VIM: "/etc"
f-b for $VIMRUNTIME: "/usr/share/vim/vim74"
Compilation: gcc -c -I. -Iproto -DHAVE_CONFIG_H -O2 -g -pipe -Wall -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D__linux__ -D_REENTRANT -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1
Linking: gcc -L. -Wl,-z,relro -fstack-protector -rdynamic -Wl,-export-dynamic -Wl,--enable-new-dtags -Wl,-rpath,/usr/lib64/perl5/CORE -Wl,-z,relro -L/usr/local/lib -Wl,--as-needed -o vim -lm -lnsl -lselinux -lncurses -lacl -lattr -lgpm -ldl -Wl,--enable-new-dtags -Wl,-rpath,/usr/lib64/perl5/CORE -fstack-protector -L/usr/lib64/perl5/CORE -lperl -lresolv -lnsl -ldl -lm -lcrypt -lutil -lpthread -lc
The python3 feature is not available as per the above output.
Please guide. Thanks in advance.
Best Regards,
Kaushal
--
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
---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/26319113-8a07-44d4-bbd0-62215782f72dn%40googlegroups.com.
Tuesday, November 23, 2021
Re: Enable Python feature in vim editor
Hi,
On Tuesday, 2021-11-23 10:33:15 +0200, Shlomi Fish wrote:
> See: https://henry.precheur.org/vim/python.html
Seriously? A post from 2008?
Eike
--
OpenPGP/GnuPG encrypted mail preferred in all private communication.
GPG key 0x6A6CD5B765632D3A - 2265 D7F3 A7B0 95CC 3918 630B 6A6C D5B7 6563 2D3A
Use LibreOffice! https://www.libreoffice.org/
--
--
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
---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/YZzUuc9SwAo3nFGO%40kulungile.erack.de.
On Tuesday, 2021-11-23 10:33:15 +0200, Shlomi Fish wrote:
> See: https://henry.precheur.org/vim/python.html
Seriously? A post from 2008?
Eike
--
OpenPGP/GnuPG encrypted mail preferred in all private communication.
GPG key 0x6A6CD5B765632D3A - 2265 D7F3 A7B0 95CC 3918 630B 6A6C D5B7 6563 2D3A
Use LibreOffice! https://www.libreoffice.org/
--
--
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
---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/YZzUuc9SwAo3nFGO%40kulungile.erack.de.
Re: Enable Python feature in vim editor
Hi,
On Monday, 2021-11-22 09:06:00 -0800, kaushal wrote:
> I am using vim editor to write python scripts. Is there a way to enable
> syntax, help and indentation of python script?
Maybe your installation just lacks some things?
I have
find /usr/share/vim/ -name '*python*'
(Fedora, vim-common package)
/usr/share/vim/vim82/autoload/pythoncomplete.vim
/usr/share/vim/vim82/autoload/python3complete.vim
/usr/share/vim/vim82/syntax/python.vim
/usr/share/vim/vim82/ftplugin/python.vim
/usr/share/vim/vim82/indent/python.vim
or
(Debian, vim-runtime package)
/usr/share/vim/vim81/ftplugin/python.vim
/usr/share/vim/vim81/autoload/pythoncomplete.vim
/usr/share/vim/vim81/autoload/python3complete.vim
/usr/share/vim/vim81/syntax/python.vim
/usr/share/vim/vim81/indent/python.vim
and syntax highlighting and indentation work.
If on Windows, find out where these are installed and maybe adjust your
$VIM or eve $VIMRUNTIME paths. See :h $VIM and :h $VIMRUNTIME
Eike
--
OpenPGP/GnuPG encrypted mail preferred in all private communication.
GPG key 0x6A6CD5B765632D3A - 2265 D7F3 A7B0 95CC 3918 630B 6A6C D5B7 6563 2D3A
Use LibreOffice! https://www.libreoffice.org/
--
--
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
---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/YZzUiwUKdQMGbayb%40kulungile.erack.de.
On Monday, 2021-11-22 09:06:00 -0800, kaushal wrote:
> I am using vim editor to write python scripts. Is there a way to enable
> syntax, help and indentation of python script?
Maybe your installation just lacks some things?
I have
find /usr/share/vim/ -name '*python*'
(Fedora, vim-common package)
/usr/share/vim/vim82/autoload/pythoncomplete.vim
/usr/share/vim/vim82/autoload/python3complete.vim
/usr/share/vim/vim82/syntax/python.vim
/usr/share/vim/vim82/ftplugin/python.vim
/usr/share/vim/vim82/indent/python.vim
or
(Debian, vim-runtime package)
/usr/share/vim/vim81/ftplugin/python.vim
/usr/share/vim/vim81/autoload/pythoncomplete.vim
/usr/share/vim/vim81/autoload/python3complete.vim
/usr/share/vim/vim81/syntax/python.vim
/usr/share/vim/vim81/indent/python.vim
and syntax highlighting and indentation work.
If on Windows, find out where these are installed and maybe adjust your
$VIM or eve $VIMRUNTIME paths. See :h $VIM and :h $VIMRUNTIME
Eike
--
OpenPGP/GnuPG encrypted mail preferred in all private communication.
GPG key 0x6A6CD5B765632D3A - 2265 D7F3 A7B0 95CC 3918 630B 6A6C D5B7 6563 2D3A
Use LibreOffice! https://www.libreoffice.org/
--
--
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
---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/YZzUiwUKdQMGbayb%40kulungile.erack.de.
Re: Enable Python feature in vim editor
Hi Steve!
On Tue, 23 Nov 2021 02:24:11 -0800 (PST)
Steve Martin <smartin5590@gmail.com> wrote:
> I'd give one warning. The scripts pointed to by Shlomi were written back in
> 2006. The newest versions of Vim have a new indent/python.vim script
> created just a couple of years ago by the Vim authors. If you are using the
> latest version of Vim (8.0+) then you should make sure you have all of the
> scripts that come with Vim installed and it should give you very good
> handling of Python files out of the box.
>
The built-in scripts do a worse job, esp. with handling '='/'==', from my
experience.
> On Tuesday, November 23, 2021 at 1:33:26 AM UTC-7 Shlomi Fish wrote:
>
> > On Mon, 22 Nov 2021 09:06:00 -0800 (PST)
> > kaushal <kaushal...@gmail.com> wrote:
> >
> > > Hi,
> > >
> > > I am using vim editor to write python scripts. Is there a way to enable
> > > syntax, help and indentation of python script?
> > >
> > > Thanks in advance. I look forward to hearing from you.
> > >
> > > Best Regards,
> > >
> > > Kaushal
> > >
> >
> > Hi Kaushal!
> >
> > See: https://henry.precheur.org/vim/python.html
> >
> > --
> >
> > Shlomi Fish https://www.shlomifish.org/
> > List of Graphics Apps - https://shlom.in/graphics
> >
> > Alan: Hello, Miss Mandrake. I'm Alan. [she shakes his hand.]
> > John: John. [shakes his hand.]
> > Alan: We're mighty vampires.
> > Selina: [Amusingly] Selina Mandrake, mighty pirate.
> >
> > Please reply to list if it's a mailing list post - https://shlom.in/reply
> > .
> >
>
--
Shlomi Fish https://www.shlomifish.org/
Star Trek: "We, the Living Dead" - https://shlom.in/st-wtld
Flock aims to be the browser for the social web, but I found it to be the
completely anti-social browser.
Please reply to list if it's a mailing list post - https://shlom.in/reply .
--
--
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
---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/20211123134102.1fb06568%40shlomifish.org.
On Tue, 23 Nov 2021 02:24:11 -0800 (PST)
Steve Martin <smartin5590@gmail.com> wrote:
> I'd give one warning. The scripts pointed to by Shlomi were written back in
> 2006. The newest versions of Vim have a new indent/python.vim script
> created just a couple of years ago by the Vim authors. If you are using the
> latest version of Vim (8.0+) then you should make sure you have all of the
> scripts that come with Vim installed and it should give you very good
> handling of Python files out of the box.
>
The built-in scripts do a worse job, esp. with handling '='/'==', from my
experience.
> On Tuesday, November 23, 2021 at 1:33:26 AM UTC-7 Shlomi Fish wrote:
>
> > On Mon, 22 Nov 2021 09:06:00 -0800 (PST)
> > kaushal <kaushal...@gmail.com> wrote:
> >
> > > Hi,
> > >
> > > I am using vim editor to write python scripts. Is there a way to enable
> > > syntax, help and indentation of python script?
> > >
> > > Thanks in advance. I look forward to hearing from you.
> > >
> > > Best Regards,
> > >
> > > Kaushal
> > >
> >
> > Hi Kaushal!
> >
> > See: https://henry.precheur.org/vim/python.html
> >
> > --
> >
> > Shlomi Fish https://www.shlomifish.org/
> > List of Graphics Apps - https://shlom.in/graphics
> >
> > Alan: Hello, Miss Mandrake. I'm Alan. [she shakes his hand.]
> > John: John. [shakes his hand.]
> > Alan: We're mighty vampires.
> > Selina: [Amusingly] Selina Mandrake, mighty pirate.
> >
> > Please reply to list if it's a mailing list post - https://shlom.in/reply
> > .
> >
>
--
Shlomi Fish https://www.shlomifish.org/
Star Trek: "We, the Living Dead" - https://shlom.in/st-wtld
Flock aims to be the browser for the social web, but I found it to be the
completely anti-social browser.
Please reply to list if it's a mailing list post - https://shlom.in/reply .
--
--
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
---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/20211123134102.1fb06568%40shlomifish.org.
Re: Enable Python feature in vim editor
I'd give one warning. The scripts pointed to by Shlomi were written back in 2006. The newest versions of Vim have a new indent/python.vim script created just a couple of years ago by the Vim authors. If you are using the latest version of Vim (8.0+) then you should make sure you have all of the scripts that come with Vim installed and it should give you very good handling of Python files out of the box.
--
--
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
---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/eba9efb1-2a3c-4144-ae0e-b9ef7c0667c6n%40googlegroups.com.
On Tuesday, November 23, 2021 at 1:33:26 AM UTC-7 Shlomi Fish wrote:
On Mon, 22 Nov 2021 09:06:00 -0800 (PST)
kaushal <kaushal...@gmail.com> wrote:
> Hi,
>
> I am using vim editor to write python scripts. Is there a way to enable
> syntax, help and indentation of python script?
>
> Thanks in advance. I look forward to hearing from you.
>
> Best Regards,
>
> Kaushal
>
Hi Kaushal!
See: https://henry.precheur.org/vim/python.html
--
Shlomi Fish https://www.shlomifish.org/
List of Graphics Apps - https://shlom.in/graphics
Alan: Hello, Miss Mandrake. I'm Alan. [she shakes his hand.]
John: John. [shakes his hand.]
Alan: We're mighty vampires.
Selina: [Amusingly] Selina Mandrake, mighty pirate.
Please reply to list if it's a mailing list post - https://shlom.in/reply .
--
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
---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/eba9efb1-2a3c-4144-ae0e-b9ef7c0667c6n%40googlegroups.com.
Re: Enable Python feature in vim editor
On Mon, 22 Nov 2021 09:06:00 -0800 (PST)
kaushal <kaushalshriyan@gmail.com> wrote:
> Hi,
>
> I am using vim editor to write python scripts. Is there a way to enable
> syntax, help and indentation of python script?
>
> Thanks in advance. I look forward to hearing from you.
>
> Best Regards,
>
> Kaushal
>
Hi Kaushal!
See: https://henry.precheur.org/vim/python.html
--
Shlomi Fish https://www.shlomifish.org/
List of Graphics Apps - https://shlom.in/graphics
Alan: Hello, Miss Mandrake. I'm Alan. [she shakes his hand.]
John: John. [shakes his hand.]
Alan: We're mighty vampires.
Selina: [Amusingly] Selina Mandrake, mighty pirate.
Please reply to list if it's a mailing list post - https://shlom.in/reply .
--
--
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
---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/20211123103315.06a95a0a%40shlomifish.org.
kaushal <kaushalshriyan@gmail.com> wrote:
> Hi,
>
> I am using vim editor to write python scripts. Is there a way to enable
> syntax, help and indentation of python script?
>
> Thanks in advance. I look forward to hearing from you.
>
> Best Regards,
>
> Kaushal
>
Hi Kaushal!
See: https://henry.precheur.org/vim/python.html
--
Shlomi Fish https://www.shlomifish.org/
List of Graphics Apps - https://shlom.in/graphics
Alan: Hello, Miss Mandrake. I'm Alan. [she shakes his hand.]
John: John. [shakes his hand.]
Alan: We're mighty vampires.
Selina: [Amusingly] Selina Mandrake, mighty pirate.
Please reply to list if it's a mailing list post - https://shlom.in/reply .
--
--
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
---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/20211123103315.06a95a0a%40shlomifish.org.
Monday, November 22, 2021
Enable Python feature in vim editor
Hi,
--
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
---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/c5d0b779-64c7-4b7a-88af-41e544102ab3n%40googlegroups.com.
I am using vim editor to write python scripts. Is there a way to enable syntax, help and indentation of python script?
Thanks in advance. I look forward to hearing from you.
Best Regards,
Kaushal
-- --
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
---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/c5d0b779-64c7-4b7a-88af-41e544102ab3n%40googlegroups.com.
Friday, November 19, 2021
DiffText
Hello,
This is hopefully a simple question. In my _gvimrc file I set the colorscheme, and then after words I set DiffText with
hi DiffText guifg=white
However, this setting does not take hold when I actually do a diff. Why? Can I do something to force it to take hold when I actually invoke diff?
(Incidentally, I think this value is rarely set very well with respect to most of the colorschemes)
--
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
---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/CAFim3N%2B8OSmuSxjjnVNOF67j2W3YJTGP97H2h6VpBU64XKJT5g%40mail.gmail.com.
Thursday, November 18, 2021
Re: "Auto Yes" to Warnings On Save (Scriptability)
On Thu, Mar 26, 2020 at 07:59:38AM -0700, Joe Clark wrote:
> I am looking for a way to periodically remove the first N lines of a file,
> to implement a "quick and dirty" log file size management scheme.
>
> I have found that vi will effectively do this, and (somewhat surprisingly)
> the logging application seems to be okay with its log file being modified.
This is a very late response, but thought it might be good for the
archive in case someone was searching.
Several responders to the OP suggested sed or tail, which the OP didn't
want because he needed an in-place change that *didn't change the
inode*.
This is a good fit for... 'ed'! No, not me, ed the line editor.
$ seq 1000 > /tmp/nums.txt
$ wc -l /tmp/nums.txt
1000 /tmp/nums.txt
$ stat --printf "%i\n" /tmp/nums.txt
285890
$ printf '1,500d\nw\n' | ed /tmp/nums.txt
3893
2001
$ wc -l /tmp/nums.txt
500 /tmp/nums.txt
$ head -n 3 /tmp/nums.txt
501
502
503
$ tail -n 3 /tmp/nums.txt
998
999
1000
$ stat --printf "%i\n" /tmp/nums.txt
285890
You can see that ed is scriptable in a limited way (no loops or branches), but unlike vim doesn't assume interactive input, and saves in-place.
--
Ed Blackman
--
--
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
---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/1637284311.08774c%40strabo.garrett.
> I am looking for a way to periodically remove the first N lines of a file,
> to implement a "quick and dirty" log file size management scheme.
>
> I have found that vi will effectively do this, and (somewhat surprisingly)
> the logging application seems to be okay with its log file being modified.
This is a very late response, but thought it might be good for the
archive in case someone was searching.
Several responders to the OP suggested sed or tail, which the OP didn't
want because he needed an in-place change that *didn't change the
inode*.
This is a good fit for... 'ed'! No, not me, ed the line editor.
$ seq 1000 > /tmp/nums.txt
$ wc -l /tmp/nums.txt
1000 /tmp/nums.txt
$ stat --printf "%i\n" /tmp/nums.txt
285890
$ printf '1,500d\nw\n' | ed /tmp/nums.txt
3893
2001
$ wc -l /tmp/nums.txt
500 /tmp/nums.txt
$ head -n 3 /tmp/nums.txt
501
502
503
$ tail -n 3 /tmp/nums.txt
998
999
1000
$ stat --printf "%i\n" /tmp/nums.txt
285890
You can see that ed is scriptable in a limited way (no loops or branches), but unlike vim doesn't assume interactive input, and saves in-place.
--
Ed Blackman
--
--
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
---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/1637284311.08774c%40strabo.garrett.
Saturday, November 6, 2021
Re: Vim turns 30 today!
BPJ,
On 2021-11-06 07:14, BPJ wrote:
> Den fre 5 nov. 2021 01:45Philip Rhoades <phil@pricom.com.au> skrev:
>
>> BPJ,
>>
>> On 2021-11-04 21:39, BPJ wrote:
>>>> And also VimWiki !
>>>
>>> I edit most text with VimWiki in Markdown mode, which allows very
>> easy
>>> jumping inside sets of related files.
>>
>> Not sure what you mean there - can you elaborate? - it sounds
>> interesting!
>
> Vimwiki supports Markdown as alternative syntax and has commands for
> jumping/splitting/tabbing to the location pointed to by the link under
> the cursor which I use to jump between Md files in the same directory,
> combined with a Pandoc filter which changes .md extensions in local
> URLs to the extension of the current output format, so that in the .md
> files I write a link like [configuration](configuration.md) so that
> while editing I can jump to configuration.md when over the link, and
> when I convert the files with pandoc the file extension of the target
> is changed to .html or .pdf (or whatever).
OK, I have only used VimWiki in its simple mode - which has still been
great for me1 - but I will have a look at your mechanisms - they could
be quite useful for me too . .
Thanks!
P.
--
Philip Rhoades
PO Box 896
Cowra NSW 2794
Australia
E-mail: phil@pricom.com.au
--
--
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
---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/d6dd72fde291990b42d15673adcb4928%40pricom.com.au.
On 2021-11-06 07:14, BPJ wrote:
> Den fre 5 nov. 2021 01:45Philip Rhoades <phil@pricom.com.au> skrev:
>
>> BPJ,
>>
>> On 2021-11-04 21:39, BPJ wrote:
>>>> And also VimWiki !
>>>
>>> I edit most text with VimWiki in Markdown mode, which allows very
>> easy
>>> jumping inside sets of related files.
>>
>> Not sure what you mean there - can you elaborate? - it sounds
>> interesting!
>
> Vimwiki supports Markdown as alternative syntax and has commands for
> jumping/splitting/tabbing to the location pointed to by the link under
> the cursor which I use to jump between Md files in the same directory,
> combined with a Pandoc filter which changes .md extensions in local
> URLs to the extension of the current output format, so that in the .md
> files I write a link like [configuration](configuration.md) so that
> while editing I can jump to configuration.md when over the link, and
> when I convert the files with pandoc the file extension of the target
> is changed to .html or .pdf (or whatever).
OK, I have only used VimWiki in its simple mode - which has still been
great for me1 - but I will have a look at your mechanisms - they could
be quite useful for me too . .
Thanks!
P.
--
Philip Rhoades
PO Box 896
Cowra NSW 2794
Australia
E-mail: phil@pricom.com.au
--
--
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
---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/d6dd72fde291990b42d15673adcb4928%40pricom.com.au.
Friday, November 5, 2021
Re: Vim turns 30 today!
Den fre 5 nov. 2021 01:45Philip Rhoades <phil@pricom.com.au> skrev:
BPJ,
On 2021-11-04 21:39, BPJ wrote:
>> And also VimWiki !
>
> I edit most text with VimWiki in Markdown mode, which allows very easy
> jumping inside sets of related files.
Not sure what you mean there - can you elaborate? - it sounds
interesting!
Vimwiki supports Markdown as alternative syntax and has commands for jumping/splitting/tabbing to the location pointed to by the link under the cursor which I use to jump between Md files in the same directory, combined with a Pandoc filter which changes .md extensions in local URLs to the extension of the current output format, so that in the .md files I write a link like [configuration](configuration.md) so that while editing I can jump to configuration.md when over the link, and when I convert the files with pandoc the file extension of the target is changed to .html or .pdf (or whatever).
/bpj
P.
--
Philip Rhoades
PO Box 896
Cowra NSW 2794
Australia
E-mail: phil@pricom.com.au
--
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
---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/CADAJKhDOC4KiNRLxTU7fwUDdH4hiuOLtnfjJ%2Bas%3DkgZ%2Bb%3DOcpg%40mail.gmail.com.
Thursday, November 4, 2021
Re: Vim turns 30 today!
Steve,
On 2021-11-05 09:30, Steve Litt wrote:
> BPJ said on Thu, 4 Nov 2021 11:39:30 +0100
>
>>>
>>> And also VimWiki !
>>
>>
>> I edit most text with VimWiki in Markdown mode, which allows very easy
>> jumping inside sets of related files.
>>
>> /bpj
>
> Cool! Right after I finish writing my current book, I plan on creating
> a Markdown to XHTML software stack **that enables arbitrary styles**.
> My plan is to use QOwnNotes for user input, but it sounds like VimWiki
> could also serve as user input.
>
> The goal of my software stack is to eventually enable one to write
> books in slightly enhanced Markdown, and export that to HTML, ePub or
> PDF. Once source, three (or more) reader formats.
Nice! When I was on a bit of a SF short story period, I experimented
with the "Snowflake" method using Vim and VOom:
The "Snowflake" approach to writing a novel
(http://www.advancedfictionwriting.com/articles/snowflake-method)
In Vim use (F8 with line under cursor):
:se textwidth=999
:se wrap
:se linebreak
:se foldmethod=marker
:se spell spelllang=en_au
:Voom
:se foldmethod=manual
:.,$VoomSort
- to sort nodes
CTRL/[up|down]
- to move nodes
==================================================
Step 1) A one-sentence summary of the story {{{1
Something like this: "A rogue physicist travels back in time to kill the
apostle Paul." (This is the summary for my first novel, Transgression.)
The sentence will serve you forever as a ten-second selling tool. This
is the big picture, the analog of that big starting triangle in the
snowflake picture.
.
.
P.
--
Philip Rhoades
PO Box 896
Cowra NSW 2794
Australia
E-mail: phil@pricom.com.au
--
--
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
---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/0051114eb0979c64211cd6bef8a47f49%40pricom.com.au.
On 2021-11-05 09:30, Steve Litt wrote:
> BPJ said on Thu, 4 Nov 2021 11:39:30 +0100
>
>>>
>>> And also VimWiki !
>>
>>
>> I edit most text with VimWiki in Markdown mode, which allows very easy
>> jumping inside sets of related files.
>>
>> /bpj
>
> Cool! Right after I finish writing my current book, I plan on creating
> a Markdown to XHTML software stack **that enables arbitrary styles**.
> My plan is to use QOwnNotes for user input, but it sounds like VimWiki
> could also serve as user input.
>
> The goal of my software stack is to eventually enable one to write
> books in slightly enhanced Markdown, and export that to HTML, ePub or
> PDF. Once source, three (or more) reader formats.
Nice! When I was on a bit of a SF short story period, I experimented
with the "Snowflake" method using Vim and VOom:
The "Snowflake" approach to writing a novel
(http://www.advancedfictionwriting.com/articles/snowflake-method)
In Vim use (F8 with line under cursor):
:se textwidth=999
:se wrap
:se linebreak
:se foldmethod=marker
:se spell spelllang=en_au
:Voom
:se foldmethod=manual
:.,$VoomSort
- to sort nodes
CTRL/[up|down]
- to move nodes
==================================================
Step 1) A one-sentence summary of the story {{{1
Something like this: "A rogue physicist travels back in time to kill the
apostle Paul." (This is the summary for my first novel, Transgression.)
The sentence will serve you forever as a ten-second selling tool. This
is the big picture, the analog of that big starting triangle in the
snowflake picture.
.
.
P.
--
Philip Rhoades
PO Box 896
Cowra NSW 2794
Australia
E-mail: phil@pricom.com.au
--
--
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
---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/0051114eb0979c64211cd6bef8a47f49%40pricom.com.au.
Re: Vim turns 30 today!
BPJ,
On 2021-11-04 21:39, BPJ wrote:
>> And also VimWiki !
>
> I edit most text with VimWiki in Markdown mode, which allows very easy
> jumping inside sets of related files.
Not sure what you mean there - can you elaborate? - it sounds
interesting!
P.
--
Philip Rhoades
PO Box 896
Cowra NSW 2794
Australia
E-mail: phil@pricom.com.au
--
--
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
---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/db8add45cc3b8526218fc53d2555e36b%40pricom.com.au.
On 2021-11-04 21:39, BPJ wrote:
>> And also VimWiki !
>
> I edit most text with VimWiki in Markdown mode, which allows very easy
> jumping inside sets of related files.
Not sure what you mean there - can you elaborate? - it sounds
interesting!
P.
--
Philip Rhoades
PO Box 896
Cowra NSW 2794
Australia
E-mail: phil@pricom.com.au
--
--
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
---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/db8add45cc3b8526218fc53d2555e36b%40pricom.com.au.
Re: Vim turns 30 today!
BPJ said on Thu, 4 Nov 2021 11:39:30 +0100
>>
>> And also VimWiki !
>
>
>I edit most text with VimWiki in Markdown mode, which allows very easy
>jumping inside sets of related files.
>
>/bpj
Cool! Right after I finish writing my current book, I plan on creating
a Markdown to XHTML software stack **that enables arbitrary styles**.
My plan is to use QOwnNotes for user input, but it sounds like VimWiki
could also serve as user input.
The goal of my software stack is to eventually enable one to write
books in slightly enhanced Markdown, and export that to HTML, ePub or
PDF. Once source, three (or more) reader formats.
SteveT
Steve Litt
Spring 2021 featured book: Troubleshooting Techniques of the Successful
Technologist http://www.troubleshooters.com/techniques
--
--
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
---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/20211104183039.50db04cd%40mydesk.domain.cxm.
>>
>> And also VimWiki !
>
>
>I edit most text with VimWiki in Markdown mode, which allows very easy
>jumping inside sets of related files.
>
>/bpj
Cool! Right after I finish writing my current book, I plan on creating
a Markdown to XHTML software stack **that enables arbitrary styles**.
My plan is to use QOwnNotes for user input, but it sounds like VimWiki
could also serve as user input.
The goal of my software stack is to eventually enable one to write
books in slightly enhanced Markdown, and export that to HTML, ePub or
PDF. Once source, three (or more) reader formats.
SteveT
Steve Litt
Spring 2021 featured book: Troubleshooting Techniques of the Successful
Technologist http://www.troubleshooters.com/techniques
--
--
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
---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/20211104183039.50db04cd%40mydesk.domain.cxm.
Override colors based on the surrounding syntax region
Hi there,
In Common Lisp, you can put a #+NIL in front of an expression, to
prevent the compiler from processing it; for example, the following
defines a list of 3 elements:
(list 1 2 3)
The following defines a list of 2 elements (the `3` is swallowed):
(list 1 2 #+nil 3)
While this one...does nothing:
#+nil (list 1 2 3)
So I wanted to highlight all the `#+nil (...)` patterns as if they were
comments, and to do so I started with something as simle as:
syntax match lispExcludedForm /\v\#\+nil \([^)]+\)/
highlight link lispExcludedForm lispComment
I knew that this was not going to work in case of nested parentheses,
and after taking a look at the default syntax file for Lisp, I came up
with the following:
syntax region lispExcludedFormWithNil
\ matchgroup=lispExcludedContentStart
\ start="#+nil ("
\ skip="|.\{-}|"
\ matchgroup=lispExcludedContentStop
\ end=")"
\ contains=@lispBaseListCluster
highlight link lispExcludedContentStart lispComment
highlight link lispExcludedContentStop lispComment
With this I was able to deal with nested parentheses just fine; however,
if I had highlight commands defined for any of the elements contained
inside the `@lispBaseListCluster` cluster, Vim would still end up
coloring those elements while I want the whole region to look like a
`lispComment` instead -- and this is where I got stuck.
So, for the brave ones that made it this far:
- Can I define highlight commands that not only take specific elements
into account (i.e. `lispList`), but also their parents (i.e.
`lispExcludedFormWithNil > lispList`) -- this way I could link
`lispList` to `lispComment` only when contained inside
`lispExcludedFormWithNil`
- If not, should I have to create my own `@lispBaseListExcludedCluster`
cluster, and make sure no highlight command is defined for any of its
elements?
- In which case, can I programmatically iterate through all the elements
of a syntax cluster, and maybe create copies of it?
And last but not least: is what I am trying to achieve, even possible?
Am I on the right track?
Thanks in advance!
--
Matteo Landi
https://matteolandi.net
--
--
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
---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/YYP56rkdqqoOX51t%40hairstyle.local.
In Common Lisp, you can put a #+NIL in front of an expression, to
prevent the compiler from processing it; for example, the following
defines a list of 3 elements:
(list 1 2 3)
The following defines a list of 2 elements (the `3` is swallowed):
(list 1 2 #+nil 3)
While this one...does nothing:
#+nil (list 1 2 3)
So I wanted to highlight all the `#+nil (...)` patterns as if they were
comments, and to do so I started with something as simle as:
syntax match lispExcludedForm /\v\#\+nil \([^)]+\)/
highlight link lispExcludedForm lispComment
I knew that this was not going to work in case of nested parentheses,
and after taking a look at the default syntax file for Lisp, I came up
with the following:
syntax region lispExcludedFormWithNil
\ matchgroup=lispExcludedContentStart
\ start="#+nil ("
\ skip="|.\{-}|"
\ matchgroup=lispExcludedContentStop
\ end=")"
\ contains=@lispBaseListCluster
highlight link lispExcludedContentStart lispComment
highlight link lispExcludedContentStop lispComment
With this I was able to deal with nested parentheses just fine; however,
if I had highlight commands defined for any of the elements contained
inside the `@lispBaseListCluster` cluster, Vim would still end up
coloring those elements while I want the whole region to look like a
`lispComment` instead -- and this is where I got stuck.
So, for the brave ones that made it this far:
- Can I define highlight commands that not only take specific elements
into account (i.e. `lispList`), but also their parents (i.e.
`lispExcludedFormWithNil > lispList`) -- this way I could link
`lispList` to `lispComment` only when contained inside
`lispExcludedFormWithNil`
- If not, should I have to create my own `@lispBaseListExcludedCluster`
cluster, and make sure no highlight command is defined for any of its
elements?
- In which case, can I programmatically iterate through all the elements
of a syntax cluster, and maybe create copies of it?
And last but not least: is what I am trying to achieve, even possible?
Am I on the right track?
Thanks in advance!
--
Matteo Landi
https://matteolandi.net
--
--
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
---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/YYP56rkdqqoOX51t%40hairstyle.local.
Re: Vim turns 30 today!
And also VimWiki !
I edit most text with VimWiki in Markdown mode, which allows very easy jumping inside sets of related files.
/bpj
--
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
---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/CADAJKhBPa_QDwncREGzs30v-ASj7da4EfRiVo93Sewrm3_HrEQ%40mail.gmail.com.
Re: Vim turns 30 today!
Steve,
On 2021-11-04 20:11, Philip Rhoades wrote:
> Steve,
>
>
> On 2021-11-04 05:38, Steve Litt wrote:
>> 'Philip Rhoades' via vim_use said on Wed, 03 Nov 2021 18:48:37 +1100
>>
>>> Yegappan,
>>>
>>>
>>> On 2021-11-03 15:21, Yegappan Lakshmanan wrote:
>>>> https://www.reddit.com/r/vim/comments/ql30pm/vim_turns_30_today/
>>>>
>>>> Happy 30th Birthday!!! Thanks Bram.
>>>
>>>
>>> Wow! What a great program! - I don't think I will ever know all
>>> there
>>> is to know about Vim but I keep learning!
>>
>> The absolute truth. I started with regular vi, and Vim was like a
>> breath of fresh air. I use it for everything. My blood pressure
>> journal
>> is maintained with Vim. I use VimOutliner for all my organizational
>> needs. Vim is absolutely indispensable in my workflow.
>
>
> Exactly! Don't forget about VOom! - because of the pain of using the
> primitive built-in bookmarks facility in browsers, sometime ago I
> switched over to using a Vim text file with VOom plugin which is MUCH
> nicer and much more efficient for me - here is a part of my Vim / VOom
> file as an eg:
>
> http://pricom.com.au/2021-11-03_13-41-37_Vim-VOom_Bookmarks.txt.png
>
> and now I am making more use of Vim Browser too!
And also VimWiki !
P.
> Phil.
>
>>> +1 Thanks to Bram!
>>
>> +8030. That's the number of days I've enjoyably used Vim.
>>
>>
>>> Out of interest, I started on Linux with the ~0.9 kernel - I think it
>>> was Soft Landing Linux (?) - was Vim on that distro? (I think SLS
>>> came
>>> on about a dozen 3.5" floppies . . ).
>>
>> I was late to the party with Red Hat 5.1, but better late than never
>> :-)
>>
>> SteveT
>>
>> Steve Litt
>> Spring 2021 featured book: Troubleshooting Techniques of the
>> Successful
>> Technologist http://www.troubleshooters.com/techniques
>>
>> --
--
Philip Rhoades
PO Box 896
Cowra NSW 2794
Australia
E-mail: phil@pricom.com.au
--
--
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
---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/65698db1c1d38a8deac872dbc98e5dec%40pricom.com.au.
On 2021-11-04 20:11, Philip Rhoades wrote:
> Steve,
>
>
> On 2021-11-04 05:38, Steve Litt wrote:
>> 'Philip Rhoades' via vim_use said on Wed, 03 Nov 2021 18:48:37 +1100
>>
>>> Yegappan,
>>>
>>>
>>> On 2021-11-03 15:21, Yegappan Lakshmanan wrote:
>>>> https://www.reddit.com/r/vim/comments/ql30pm/vim_turns_30_today/
>>>>
>>>> Happy 30th Birthday!!! Thanks Bram.
>>>
>>>
>>> Wow! What a great program! - I don't think I will ever know all
>>> there
>>> is to know about Vim but I keep learning!
>>
>> The absolute truth. I started with regular vi, and Vim was like a
>> breath of fresh air. I use it for everything. My blood pressure
>> journal
>> is maintained with Vim. I use VimOutliner for all my organizational
>> needs. Vim is absolutely indispensable in my workflow.
>
>
> Exactly! Don't forget about VOom! - because of the pain of using the
> primitive built-in bookmarks facility in browsers, sometime ago I
> switched over to using a Vim text file with VOom plugin which is MUCH
> nicer and much more efficient for me - here is a part of my Vim / VOom
> file as an eg:
>
> http://pricom.com.au/2021-11-03_13-41-37_Vim-VOom_Bookmarks.txt.png
>
> and now I am making more use of Vim Browser too!
And also VimWiki !
P.
> Phil.
>
>>> +1 Thanks to Bram!
>>
>> +8030. That's the number of days I've enjoyably used Vim.
>>
>>
>>> Out of interest, I started on Linux with the ~0.9 kernel - I think it
>>> was Soft Landing Linux (?) - was Vim on that distro? (I think SLS
>>> came
>>> on about a dozen 3.5" floppies . . ).
>>
>> I was late to the party with Red Hat 5.1, but better late than never
>> :-)
>>
>> SteveT
>>
>> Steve Litt
>> Spring 2021 featured book: Troubleshooting Techniques of the
>> Successful
>> Technologist http://www.troubleshooters.com/techniques
>>
>> --
--
Philip Rhoades
PO Box 896
Cowra NSW 2794
Australia
E-mail: phil@pricom.com.au
--
--
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
---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/65698db1c1d38a8deac872dbc98e5dec%40pricom.com.au.
Re: Vim turns 30 today!
Steve,
On 2021-11-04 05:38, Steve Litt wrote:
> 'Philip Rhoades' via vim_use said on Wed, 03 Nov 2021 18:48:37 +1100
>
>> Yegappan,
>>
>>
>> On 2021-11-03 15:21, Yegappan Lakshmanan wrote:
>>> https://www.reddit.com/r/vim/comments/ql30pm/vim_turns_30_today/
>>>
>>> Happy 30th Birthday!!! Thanks Bram.
>>
>>
>> Wow! What a great program! - I don't think I will ever know all there
>> is to know about Vim but I keep learning!
>
> The absolute truth. I started with regular vi, and Vim was like a
> breath of fresh air. I use it for everything. My blood pressure journal
> is maintained with Vim. I use VimOutliner for all my organizational
> needs. Vim is absolutely indispensable in my workflow.
Exactly! Don't forget about VOom! - because of the pain of using the
primitive built-in bookmarks facility in browsers, sometime ago I
switched over to using a Vim text file with VOom plugin which is MUCH
nicer and much more efficient for me - here is a part of my Vim / VOom
file as an eg:
http://pricom.com.au/2021-11-03_13-41-37_Vim-VOom_Bookmarks.txt.png
and now I am making more use of Vim Browser too!
Phil.
>> +1 Thanks to Bram!
>
> +8030. That's the number of days I've enjoyably used Vim.
>
>
>> Out of interest, I started on Linux with the ~0.9 kernel - I think it
>> was Soft Landing Linux (?) - was Vim on that distro? (I think SLS came
>> on about a dozen 3.5" floppies . . ).
>
> I was late to the party with Red Hat 5.1, but better late than never
> :-)
>
> SteveT
>
> Steve Litt
> Spring 2021 featured book: Troubleshooting Techniques of the Successful
> Technologist http://www.troubleshooters.com/techniques
>
> --
--
Philip Rhoades
PO Box 896
Cowra NSW 2794
Australia
E-mail: phil@pricom.com.au
--
--
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
---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/128c1304c243e4d53a7e7af9e466fe6d%40pricom.com.au.
On 2021-11-04 05:38, Steve Litt wrote:
> 'Philip Rhoades' via vim_use said on Wed, 03 Nov 2021 18:48:37 +1100
>
>> Yegappan,
>>
>>
>> On 2021-11-03 15:21, Yegappan Lakshmanan wrote:
>>> https://www.reddit.com/r/vim/comments/ql30pm/vim_turns_30_today/
>>>
>>> Happy 30th Birthday!!! Thanks Bram.
>>
>>
>> Wow! What a great program! - I don't think I will ever know all there
>> is to know about Vim but I keep learning!
>
> The absolute truth. I started with regular vi, and Vim was like a
> breath of fresh air. I use it for everything. My blood pressure journal
> is maintained with Vim. I use VimOutliner for all my organizational
> needs. Vim is absolutely indispensable in my workflow.
Exactly! Don't forget about VOom! - because of the pain of using the
primitive built-in bookmarks facility in browsers, sometime ago I
switched over to using a Vim text file with VOom plugin which is MUCH
nicer and much more efficient for me - here is a part of my Vim / VOom
file as an eg:
http://pricom.com.au/2021-11-03_13-41-37_Vim-VOom_Bookmarks.txt.png
and now I am making more use of Vim Browser too!
Phil.
>> +1 Thanks to Bram!
>
> +8030. That's the number of days I've enjoyably used Vim.
>
>
>> Out of interest, I started on Linux with the ~0.9 kernel - I think it
>> was Soft Landing Linux (?) - was Vim on that distro? (I think SLS came
>> on about a dozen 3.5" floppies . . ).
>
> I was late to the party with Red Hat 5.1, but better late than never
> :-)
>
> SteveT
>
> Steve Litt
> Spring 2021 featured book: Troubleshooting Techniques of the Successful
> Technologist http://www.troubleshooters.com/techniques
>
> --
--
Philip Rhoades
PO Box 896
Cowra NSW 2794
Australia
E-mail: phil@pricom.com.au
--
--
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
---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/128c1304c243e4d53a7e7af9e466fe6d%40pricom.com.au.
Re: Vim turns 30 today!
I was *very* late to the party (13 years ago) but Vim has become totally indispensable. It is the ideal UI for me with my cerebral palsy, both on the laptop and on the tablet/phone (with Termux) My timeoutlen and all my remappings to favor my left hand and avoid simultaneous key presses would surely drive most people crazy, but for me they are by now ideal. The combination Vim + Pandoc is what allows me to keep on working as a writing professional.
-- A big thank you to Bram (and predecessors, and contributors) for making this possible!
/bpj
--
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
---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/CADAJKhCxhE7LF6KPk-XRr_zD-5pGoNMcAFV2WgBvqG3oio%2ByKg%40mail.gmail.com.
Wednesday, November 3, 2021
Re: Vim turns 30 today!
Hi all!
On Wed, 3 Nov 2021 14:38:04 -0400
Steve Litt <slitt@troubleshooters.com> wrote:
> 'Philip Rhoades' via vim_use said on Wed, 03 Nov 2021 18:48:37 +1100
>
> >Yegappan,
> >
> >
> >On 2021-11-03 15:21, Yegappan Lakshmanan wrote:
> >> https://www.reddit.com/r/vim/comments/ql30pm/vim_turns_30_today/
> >>
> >> Happy 30th Birthday!!! Thanks Bram.
> >
> >
> >Wow! What a great program! - I don't think I will ever know all there
> >is to know about Vim but I keep learning!
>
> The absolute truth. I started with regular vi, and Vim was like a
> breath of fresh air. I use it for everything. My blood pressure journal
> is maintained with Vim. I use VimOutliner for all my organizational
> needs. Vim is absolutely indispensable in my workflow.
>
Mazal Tov! 🎂
BTW, Steve - we are still expecting your followup for the backup files thread
here on vim-use.
> >
> >+1 Thanks to Bram!
>
> +8030. That's the number of days I've enjoyably used Vim.
>
>
> >Out of interest, I started on Linux with the ~0.9 kernel - I think it
> >was Soft Landing Linux (?) - was Vim on that distro? (I think SLS came
> >on about a dozen 3.5" floppies . . ).
>
> I was late to the party with Red Hat 5.1, but better late than never :-)
>
> SteveT
>
> Steve Litt
> Spring 2021 featured book: Troubleshooting Techniques of the Successful
> Technologist http://www.troubleshooters.com/techniques
>
--
Shlomi Fish https://www.shlomifish.org/
My Aphorisms - https://www.shlomifish.org/humour.html
Buddha has the Chuck Norris nature.
— https://www.shlomifish.org/humour/bits/facts/Chuck-Norris/
Please reply to list if it's a mailing list post - https://shlom.in/reply .
--
--
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
---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/20211104065244.20796777%40shlomifish.org.
On Wed, 3 Nov 2021 14:38:04 -0400
Steve Litt <slitt@troubleshooters.com> wrote:
> 'Philip Rhoades' via vim_use said on Wed, 03 Nov 2021 18:48:37 +1100
>
> >Yegappan,
> >
> >
> >On 2021-11-03 15:21, Yegappan Lakshmanan wrote:
> >> https://www.reddit.com/r/vim/comments/ql30pm/vim_turns_30_today/
> >>
> >> Happy 30th Birthday!!! Thanks Bram.
> >
> >
> >Wow! What a great program! - I don't think I will ever know all there
> >is to know about Vim but I keep learning!
>
> The absolute truth. I started with regular vi, and Vim was like a
> breath of fresh air. I use it for everything. My blood pressure journal
> is maintained with Vim. I use VimOutliner for all my organizational
> needs. Vim is absolutely indispensable in my workflow.
>
Mazal Tov! 🎂
BTW, Steve - we are still expecting your followup for the backup files thread
here on vim-use.
> >
> >+1 Thanks to Bram!
>
> +8030. That's the number of days I've enjoyably used Vim.
>
>
> >Out of interest, I started on Linux with the ~0.9 kernel - I think it
> >was Soft Landing Linux (?) - was Vim on that distro? (I think SLS came
> >on about a dozen 3.5" floppies . . ).
>
> I was late to the party with Red Hat 5.1, but better late than never :-)
>
> SteveT
>
> Steve Litt
> Spring 2021 featured book: Troubleshooting Techniques of the Successful
> Technologist http://www.troubleshooters.com/techniques
>
--
Shlomi Fish https://www.shlomifish.org/
My Aphorisms - https://www.shlomifish.org/humour.html
Buddha has the Chuck Norris nature.
— https://www.shlomifish.org/humour/bits/facts/Chuck-Norris/
Please reply to list if it's a mailing list post - https://shlom.in/reply .
--
--
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
---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/20211104065244.20796777%40shlomifish.org.
Re: Control-V :w : how to write single character?
------ Original Message ------
From: "L A Walsh" <vim@tlinx.org>
To: "Vim Users" <vim_use@googlegroups.com>
Sent: Wednesday, 3 Nov, 2021 At 19:36
Subject: Control-V :w <fname> : how to write single character?
I wanted to write out an unclear character that my
cursor was over, so I tried to go into character VISUAL
selection mode by pressing Ctl-v, then ':w! /tmp/ch'.
Instead of the single character at the cursor, I got
the whole line. I also tried with a lower case 'v'.
When interactive, selecting with either 'v' or 'ctl-v'
and hitting 'y', then pasting it somewhere, only 1
character is selected.
How would I write out only the 1 character I had
selected?
thanks,
-linda
Hi Linda
having yanked your character (as in your last paragraph), open a fresh file
:e a
insert the character
P (or p)
and write it out
:w
regards - Chris
--
--
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
--- You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/6182E4DB.3040904%40tlinx.org.
Re: Control-V :w : how to write single character?
On 2021-11-03 12:36, L A Walsh wrote:
> I wanted to write out an unclear character that my
> cursor was over, so I tried to go into character VISUAL
> selection mode by pressing Ctl-v, then ':w! /tmp/ch'.
> Instead of the single character at the cursor, I got
> the whole line. I also tried with a lower case 'v'.
The ex ":w" command is linewise, regardless of what visual-mode you
were in, so you'll get the whole line.
> How would I write out only the 1 character I had selected?
You might try yanking it and then using the writefile() command
:help writefile()
to write that register out to a file:
:call writefile(@", '/tmp/ch', 'b')
As a further alternative, you might investigate the "ga" &
"g8" commands
:help g8
:help ga
which will tell you further information about the particular
character under the cursor.
Hope this helps,
-tim
--
--
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
---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/20211103145444.47507a56%40bigbox.attlocal.net.
> I wanted to write out an unclear character that my
> cursor was over, so I tried to go into character VISUAL
> selection mode by pressing Ctl-v, then ':w! /tmp/ch'.
> Instead of the single character at the cursor, I got
> the whole line. I also tried with a lower case 'v'.
The ex ":w" command is linewise, regardless of what visual-mode you
were in, so you'll get the whole line.
> How would I write out only the 1 character I had selected?
You might try yanking it and then using the writefile() command
:help writefile()
to write that register out to a file:
:call writefile(@", '/tmp/ch', 'b')
As a further alternative, you might investigate the "ga" &
"g8" commands
:help g8
:help ga
which will tell you further information about the particular
character under the cursor.
Hope this helps,
-tim
--
--
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
---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/20211103145444.47507a56%40bigbox.attlocal.net.
Control-V :w : how to write single character?
I wanted to write out an unclear character that my
cursor was over, so I tried to go into character VISUAL
selection mode by pressing Ctl-v, then ':w! /tmp/ch'.
Instead of the single character at the cursor, I got
the whole line. I also tried with a lower case 'v'.
When interactive, selecting with either 'v' or 'ctl-v'
and hitting 'y', then pasting it somewhere, only 1
character is selected.
How would I write out only the 1 character I had
selected?
thanks,
-linda
--
--
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
---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/6182E4DB.3040904%40tlinx.org.
cursor was over, so I tried to go into character VISUAL
selection mode by pressing Ctl-v, then ':w! /tmp/ch'.
Instead of the single character at the cursor, I got
the whole line. I also tried with a lower case 'v'.
When interactive, selecting with either 'v' or 'ctl-v'
and hitting 'y', then pasting it somewhere, only 1
character is selected.
How would I write out only the 1 character I had
selected?
thanks,
-linda
--
--
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
---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/6182E4DB.3040904%40tlinx.org.
Re: Vim turns 30 today!
'Philip Rhoades' via vim_use said on Wed, 03 Nov 2021 18:48:37 +1100
>Yegappan,
>
>
>On 2021-11-03 15:21, Yegappan Lakshmanan wrote:
>> https://www.reddit.com/r/vim/comments/ql30pm/vim_turns_30_today/
>>
>> Happy 30th Birthday!!! Thanks Bram.
>
>
>Wow! What a great program! - I don't think I will ever know all there
>is to know about Vim but I keep learning!
The absolute truth. I started with regular vi, and Vim was like a
breath of fresh air. I use it for everything. My blood pressure journal
is maintained with Vim. I use VimOutliner for all my organizational
needs. Vim is absolutely indispensable in my workflow.
>
>+1 Thanks to Bram!
+8030. That's the number of days I've enjoyably used Vim.
>Out of interest, I started on Linux with the ~0.9 kernel - I think it
>was Soft Landing Linux (?) - was Vim on that distro? (I think SLS came
>on about a dozen 3.5" floppies . . ).
I was late to the party with Red Hat 5.1, but better late than never :-)
SteveT
Steve Litt
Spring 2021 featured book: Troubleshooting Techniques of the Successful
Technologist http://www.troubleshooters.com/techniques
--
--
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
---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/20211103143804.7e8473bd%40mydesk.domain.cxm.
>Yegappan,
>
>
>On 2021-11-03 15:21, Yegappan Lakshmanan wrote:
>> https://www.reddit.com/r/vim/comments/ql30pm/vim_turns_30_today/
>>
>> Happy 30th Birthday!!! Thanks Bram.
>
>
>Wow! What a great program! - I don't think I will ever know all there
>is to know about Vim but I keep learning!
The absolute truth. I started with regular vi, and Vim was like a
breath of fresh air. I use it for everything. My blood pressure journal
is maintained with Vim. I use VimOutliner for all my organizational
needs. Vim is absolutely indispensable in my workflow.
>
>+1 Thanks to Bram!
+8030. That's the number of days I've enjoyably used Vim.
>Out of interest, I started on Linux with the ~0.9 kernel - I think it
>was Soft Landing Linux (?) - was Vim on that distro? (I think SLS came
>on about a dozen 3.5" floppies . . ).
I was late to the party with Red Hat 5.1, but better late than never :-)
SteveT
Steve Litt
Spring 2021 featured book: Troubleshooting Techniques of the Successful
Technologist http://www.troubleshooters.com/techniques
--
--
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
---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/20211103143804.7e8473bd%40mydesk.domain.cxm.
Re: Vim turns 30 today!
Yegappan,
On 2021-11-03 15:21, Yegappan Lakshmanan wrote:
> https://www.reddit.com/r/vim/comments/ql30pm/vim_turns_30_today/
>
> Happy 30th Birthday!!! Thanks Bram.
Wow! What a great program! - I don't think I will ever know all there
is to know about Vim but I keep learning!
+1 Thanks to Bram!
Out of interest, I started on Linux with the ~0.9 kernel - I think it
was Soft Landing Linux (?) - was Vim on that distro? (I think SLS came
on about a dozen 3.5" floppies . . ).
P.
--
Philip Rhoades
PO Box 896
Cowra NSW 2794
Australia
E-mail: phil@pricom.com.au
--
--
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
---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/985425d8f2884e0bff4c55d455ce61e1%40pricom.com.au.
On 2021-11-03 15:21, Yegappan Lakshmanan wrote:
> https://www.reddit.com/r/vim/comments/ql30pm/vim_turns_30_today/
>
> Happy 30th Birthday!!! Thanks Bram.
Wow! What a great program! - I don't think I will ever know all there
is to know about Vim but I keep learning!
+1 Thanks to Bram!
Out of interest, I started on Linux with the ~0.9 kernel - I think it
was Soft Landing Linux (?) - was Vim on that distro? (I think SLS came
on about a dozen 3.5" floppies . . ).
P.
--
Philip Rhoades
PO Box 896
Cowra NSW 2794
Australia
E-mail: phil@pricom.com.au
--
--
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
---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/985425d8f2884e0bff4c55d455ce61e1%40pricom.com.au.
Tuesday, November 2, 2021
Vim turns 30 today!
https://www.reddit.com/r/vim/comments/ql30pm/vim_turns_30_today/
Happy 30th Birthday!!! Thanks Bram.
Regards,
Yegappan
--
--
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
---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/CAAW7x7mJhWTR%2BhhzCj4%3DOtazCPM78d649%2B3%3Dbua7vkxsPhwJ1A%40mail.gmail.com.
Happy 30th Birthday!!! Thanks Bram.
Regards,
Yegappan
--
--
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
---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/CAAW7x7mJhWTR%2BhhzCj4%3DOtazCPM78d649%2B3%3Dbua7vkxsPhwJ1A%40mail.gmail.com.
Re: goyo plugin and artifacts in TTY
> > When starting Goyo, artifacts of the previous screen-wide display of the
> > text stay. Scrolling though the text doesn't remove them (as opposed to
> > Goyo in a GUI, where resizing the window removes the artifacts).
>
> I have seen this, only with the Apple Terminal app. It looks like a bug
> in Terminal, since Vim cannot produce this pixel dust. You can report
> the problem to Apple (but they have a history of being very
> unresponsive).
The problem is in the FreeBSD Operating System, with vim version
8.2.3458 but also on earlier versions.
It is *not* in some app, but plain TTY console/terminal -- no GUI
whatsoever (yep, this OS can do such basic things ;-). In FreeBSD version
13.0 p4, I use the default VT terminal for TTY.
Routine is to first ask at the program level, so I dropped it here.
Since you don't recognize the problem, I'll ask at the OS-level.
Thanks anyway,
Kind Regards,
//meine
--
--
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
---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/YYHAG6xql4hzrcH4%40trackstand.
> > text stay. Scrolling though the text doesn't remove them (as opposed to
> > Goyo in a GUI, where resizing the window removes the artifacts).
>
> I have seen this, only with the Apple Terminal app. It looks like a bug
> in Terminal, since Vim cannot produce this pixel dust. You can report
> the problem to Apple (but they have a history of being very
> unresponsive).
The problem is in the FreeBSD Operating System, with vim version
8.2.3458 but also on earlier versions.
It is *not* in some app, but plain TTY console/terminal -- no GUI
whatsoever (yep, this OS can do such basic things ;-). In FreeBSD version
13.0 p4, I use the default VT terminal for TTY.
Routine is to first ask at the program level, so I dropped it here.
Since you don't recognize the problem, I'll ask at the OS-level.
Thanks anyway,
Kind Regards,
//meine
--
--
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
---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/YYHAG6xql4hzrcH4%40trackstand.
Re: TagBar 2.7 and ctags 5.9 exception closed GVim win32 x86 8.2.3558
Fixed
Solved / Fixed :
1. Copied python311.dll, python3.dll, vcruntime140.dll in your distro path expand('$vim/extensions/python/x86')
2. Put this in your _vimrc
if has('win32')
var py3extenspath: string = expand('$vim/extensions/python/x86/')
if isdirectory( py3extenspath )
var py3dllpath = py3extenspath .. 'python311.dll'
if !filereadable(py3dllpath)
else
var pythonthree_homes: list<string> = system('where "python311.dll"')->split('\n')->filter('v:val =~ "extensions"')
py3dllpath = pythonthree_homes[0]->fnamemodify(':p:gs?\\?/?')
endif
execute 'set pythonthreehome=' .. py3extenspath
execute 'set pythonthreedll=' .. py3dllpath->fnamemodify(':p:gs?\\?/?')
endif
endif
3. Testing Py3 v3.11 interface
nnoremap <silent> <F8> :exec 'py3 import sys'<cr> :exec 'py3 print(''python3 hell working'')'<cr>
Le mardi 2 novembre 2021 à 14:39:04 UTC+1, Ni Va a écrit :
Tagbar plugin is executing python3 command that is closing GVim.See autoload/Tagbar.vim -> s:run_system(cmd, version)Version of python not integrated yet : 3.11.0Le samedi 23 octobre 2021 à 13:07:02 UTC+2, Ni Va a écrit :Hi,I daily use Gvim reading source code or other with TagBar plugin under Win10 OS under GVim 32bits x86 8.2.3558 build with ming under MSYS2.It appears that TagBarToogle it works perfectly on my physical laptop Win10 64bits meanwhile an exception seems closing Gvim under Virtual MAchine under same OS.Thanks for helping.NiVaGvimVIM - Vi IMproved 8.2 (2019 Dec 12, compiled Oct 23 2021 12:24:35)MS-Windows 32-bit GUI version with OLE supportIncluded patches: 1-3558TagBar*tagbar.txt* Display tags of a file ordered by scopeAuthor: Jan LarresLicence: Vim licence, see |license|Homepage: https://preservim.github.io/tagbarVersion: 2.7CtagsUniversal Ctags 5.9.0(c0b04ae1), Copyright (C) 2015 Universal Ctags TeamUniversal Ctags is derived from Exuberant Ctags.Exuberant Ctags 5.8, Copyright (C) 1996-2009 Darren HiebertCompiled: Oct 13 2021, 16:48:46URL: https://ctags.io/Optional compiled features: +win32, +wildcards, +regex, +gnulib_regex, +unix-path-separator, +iconv, +option-directory, +case-insensitive-filenames, +packcc, +optscript
--
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
---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/587b3438-f161-4daa-8eca-c7111190a9e2n%40googlegroups.com.
Re: Python 311 call fails
Fixed
Solved / Fixed :
1. Copied python311.dll, python3.dll, vcruntime140.dll in your distro path expand('$vim/extensions/python/x86')
2. Put this in your _vimrc
if has('win32')
var py3extenspath: string = expand('$vim/extensions/python/x86/')
if isdirectory( py3extenspath )
var py3dllpath = py3extenspath .. 'python311.dll'
if !filereadable(py3dllpath)
else
var pythonthree_homes: list<string> = system('where "python311.dll"')->split('\n')->filter('v:val =~ "extensions"')
py3dllpath = pythonthree_homes[0]->fnamemodify(':p:gs?\\?/?')
endif
execute 'set pythonthreehome=' .. py3extenspath
execute 'set pythonthreedll=' .. py3dllpath->fnamemodify(':p:gs?\\?/?')
endif
endif
3. Testing Py3 v3.11 interface
nnoremap <silent> <F8> :exec 'py3 import sys'<cr> :exec 'py3 print(''python3 hell working'')'<cr>
Le mercredi 27 octobre 2021 à 15:58:42 UTC+2, Ni Va a écrit :
Hi,Got this error on pyhton3 print('foo')E370: Could not load library python311.dll: Le module sp<e9>cifi<e9> est introuvable.E263: Sorry, this command is disabled, the Python library could not be loaded.This is my configuration1) redir @a | echomsg system('where python311.dll') | redir END | put=@aC:\Python311\python311.dll^@S:\path\Vim\to\python\x86\python311.dll^@2) echomsg filereadable('S:\path\Vim\to\python\x86\python311.dll')3) VIM - Vi IMproved 8.2 (2019 Dec 12, compiled Oct 27 2021 15:23:19)MS-Windows 32-bit GUI version with OLE supportIncluded patches: 1-3565Compiled by ni.va@Huge version with GUI. Features included (+) or not (-):+cmdline_compl +file_in_path +lua/dyn -python -termguicolors +windows+cmdline_hist +find_in_path +menu +python3/dyn +terminal +writebackupCompilation: gcc -I. -Iproto -DWIN32 -DWINVER=0x0600 -D_WIN32_WINNT=0x0600 -DHAVE_PATHDEF -DFEAT_HUGE -DHAVE_STDINT_H -DHAVE_GETTEXT -DHAVE_LOCALE_H -DDYNAMIC_GETTEXT -DFEAT_OLE -DFEAT_CSCOPE -DFEAT_NETBEANS_INTG -DFEAT_JOB_CHANNEL -DFEAT_IPV6 -DHAVE_INET_NTOP -DFEAT_TERMINAL -DFEAT_SOUND -DFEAT_DIRECTX -DDYNAMIC_DIRECTX -DFEAT_DIRECTX_COLOR_EMOJI -DFEAT_GUI_MSWIN -DFEAT_CLIPBOARD -DFEAT_MBYTE_IME -DDYNAMIC_IME -DDYNAMIC_ICONV -pipe -march=i686 -Wall -I./lua-5.3.5/src/include -I./lua-5.3.5/src -DFEAT_LUA -DDYNAMIC_LUA -DDYNAMIC_LUA_DLL="lua53.dll" -DFEAT_RUBY -I C:/Ruby30/include/ruby-3.0.0 -I C:/Ruby30/include/ruby-3.0.0/i386-mingw32 -DDYNAMIC_RUBY -DDYNAMIC_RUBY_DLL="msvcrt-ruby300.dll" -DRUBY_VERSION=30 -DFEAT_PYTHON3 -DDYNAMIC_PYTHON3 -DDYNAMIC_PYTHON3_DLL="python311.dll" -O3 -fomit-frame-pointer -freg-struct-returnLinking: g++ -I. -Iproto -DWIN32 -DWINVER=0x0600 -D_WIN32_WINNT=0x0600 -DHAVE_PATHDEF -DFEAT_HUGE -DHAVE_STDINT_H -DHAVE_GETTEXT -DHAVE_LOCALE_H -DDYNAMIC_GETTEXT -DFEAT_OLE -DFEAT_CSCOPE -DFEAT_NETBEANS_INTG -DFEAT_JOB_CHANNEL -DFEAT_IPV6 -DHAVE_INET_NTOP -DFEAT_TERMINAL -DFEAT_SOUND -DFEAT_DIRECTX -DDYNAMIC_DIRECTX -DFEAT_DIRECTX_COLOR_EMOJI -DFEAT_GUI_MSWIN -DFEAT_CLIPBOARD -DFEAT_MBYTE_IME -DDYNAMIC_IME -DDYNAMIC_ICONV -pipe -march=i686 -Wall -I./lua-5.3.5/src/include -I./lua-5.3.5/src -DFEAT_LUA -DDYNAMIC_LUA -DDYNAMIC_LUA_DLL="lua53.dll" -DFEAT_RUBY -I C:/Ruby30/include/ruby-3.0.0 -I C:/Ruby30/include/ruby-3.0.0/i386-mingw32 -DDYNAMIC_RUBY -DDYNAMIC_RUBY_DLL="msvcrt-ruby300.dll" -DRUBY_VERSION=30 -DFEAT_PYTHON3 -DDYNAMIC_PYTHON3 -DDYNAMIC_PYTHON3_DLL="python311.dll" -O3 -fomit-frame-pointer -freg-struct-return -s -municode -mwindows -o gvim.exe -lkernel32 -luser32 -lgdi32 -ladvapi32 -lcomdlg32 -lcomctl32 -lnetapi32 -lversion -lwsock32 -lws2_32 -ld2d1 -ldwrite -loleaut32 -lwinmm -Wl,-Bstatic -lstdc++ -lgcc -Wl,-Bdynamic -lgcc_eh -Wl,-Bstatic -lwinpthread -Wl,-Bdynamic -lole32 -luuid
--
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
---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/a09b5bf5-3ec9-42d8-9d43-ccd1516af650n%40googlegroups.com.
Re: Python 311 call fails
if has('win32')
if isdirectory( expand('$vim/extensions/python/x86') )
var pythonthree_homes: list<string> = system('where "python311.dll"')->split('\n')->filter('v:val =~ "extensions"')
execute 'set pythonthreedll=' .. pythonthree_homes[0]->fnamemodify(':p:gs?\\?/?')
endif
endif
Le mardi 2 novembre 2021 à 16:12:38 UTC+1, Ni Va a écrit :
FixedSolved / Fixed :1. Copied python311.dll, python3.dll, vcruntime140.dll in your distro path expand('$vim/extensions/python/x86')2. Put this in your _vimrcif has('win32')if isdirectory( expand('$vim/extensions/python/x86') )var pythonthree_homes: list<string> = system('where "python311.dll"')->split('\n')execute 'set pythonthreedll=' .. pythonthree_homes[1]->fnamemodify(':p:gs?\\?/?')endifendif3. Testing Py3 v3.11 interfacennoremap <silent> <F8> :exec 'py3 import sys'<cr> :exec 'py3 print(''python3 hell working'')'<cr>Le mercredi 27 octobre 2021 à 15:58:42 UTC+2, Ni Va a écrit :Hi,Got this error on pyhton3 print('foo')E370: Could not load library python311.dll: Le module sp<e9>cifi<e9> est introuvable.E263: Sorry, this command is disabled, the Python library could not be loaded.This is my configuration1) redir @a | echomsg system('where python311.dll') | redir END | put=@aC:\Python311\python311.dll^@S:\path\Vim\to\python\x86\python311.dll^@2) echomsg filereadable('S:\path\Vim\to\python\x86\python311.dll')3) VIM - Vi IMproved 8.2 (2019 Dec 12, compiled Oct 27 2021 15:23:19)MS-Windows 32-bit GUI version with OLE supportIncluded patches: 1-3565Compiled by ni.va@Huge version with GUI. Features included (+) or not (-):+cmdline_compl +file_in_path +lua/dyn -python -termguicolors +windows+cmdline_hist +find_in_path +menu +python3/dyn +terminal +writebackupCompilation: gcc -I. -Iproto -DWIN32 -DWINVER=0x0600 -D_WIN32_WINNT=0x0600 -DHAVE_PATHDEF -DFEAT_HUGE -DHAVE_STDINT_H -DHAVE_GETTEXT -DHAVE_LOCALE_H -DDYNAMIC_GETTEXT -DFEAT_OLE -DFEAT_CSCOPE -DFEAT_NETBEANS_INTG -DFEAT_JOB_CHANNEL -DFEAT_IPV6 -DHAVE_INET_NTOP -DFEAT_TERMINAL -DFEAT_SOUND -DFEAT_DIRECTX -DDYNAMIC_DIRECTX -DFEAT_DIRECTX_COLOR_EMOJI -DFEAT_GUI_MSWIN -DFEAT_CLIPBOARD -DFEAT_MBYTE_IME -DDYNAMIC_IME -DDYNAMIC_ICONV -pipe -march=i686 -Wall -I./lua-5.3.5/src/include -I./lua-5.3.5/src -DFEAT_LUA -DDYNAMIC_LUA -DDYNAMIC_LUA_DLL="lua53.dll" -DFEAT_RUBY -I C:/Ruby30/include/ruby-3.0.0 -I C:/Ruby30/include/ruby-3.0.0/i386-mingw32 -DDYNAMIC_RUBY -DDYNAMIC_RUBY_DLL="msvcrt-ruby300.dll" -DRUBY_VERSION=30 -DFEAT_PYTHON3 -DDYNAMIC_PYTHON3 -DDYNAMIC_PYTHON3_DLL="python311.dll" -O3 -fomit-frame-pointer -freg-struct-returnLinking: g++ -I. -Iproto -DWIN32 -DWINVER=0x0600 -D_WIN32_WINNT=0x0600 -DHAVE_PATHDEF -DFEAT_HUGE -DHAVE_STDINT_H -DHAVE_GETTEXT -DHAVE_LOCALE_H -DDYNAMIC_GETTEXT -DFEAT_OLE -DFEAT_CSCOPE -DFEAT_NETBEANS_INTG -DFEAT_JOB_CHANNEL -DFEAT_IPV6 -DHAVE_INET_NTOP -DFEAT_TERMINAL -DFEAT_SOUND -DFEAT_DIRECTX -DDYNAMIC_DIRECTX -DFEAT_DIRECTX_COLOR_EMOJI -DFEAT_GUI_MSWIN -DFEAT_CLIPBOARD -DFEAT_MBYTE_IME -DDYNAMIC_IME -DDYNAMIC_ICONV -pipe -march=i686 -Wall -I./lua-5.3.5/src/include -I./lua-5.3.5/src -DFEAT_LUA -DDYNAMIC_LUA -DDYNAMIC_LUA_DLL="lua53.dll" -DFEAT_RUBY -I C:/Ruby30/include/ruby-3.0.0 -I C:/Ruby30/include/ruby-3.0.0/i386-mingw32 -DDYNAMIC_RUBY -DDYNAMIC_RUBY_DLL="msvcrt-ruby300.dll" -DRUBY_VERSION=30 -DFEAT_PYTHON3 -DDYNAMIC_PYTHON3 -DDYNAMIC_PYTHON3_DLL="python311.dll" -O3 -fomit-frame-pointer -freg-struct-return -s -municode -mwindows -o gvim.exe -lkernel32 -luser32 -lgdi32 -ladvapi32 -lcomdlg32 -lcomctl32 -lnetapi32 -lversion -lwsock32 -lws2_32 -ld2d1 -ldwrite -loleaut32 -lwinmm -Wl,-Bstatic -lstdc++ -lgcc -Wl,-Bdynamic -lgcc_eh -Wl,-Bstatic -lwinpthread -Wl,-Bdynamic -lole32 -luuid
--
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
---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/5055f368-dc24-499b-9955-acfa4d9707e2n%40googlegroups.com.
Re: Python 311 call fails
if has('win32')
if isdirectory( expand('$vim/extensions/python/x86') )
var pythonthree_homes: list<string> = system('where "python311.dll"')->split('\n')->filter('v:val =~ "extensions"')
execute 'set pythonthreedll=' .. pythonthree_homes[0]->fnamemodify(':p:gs?\\?/?')
endif
endif
Le mardi 2 novembre 2021 à 16:12:38 UTC+1, Ni Va a écrit :
FixedSolved / Fixed :1. Copied python311.dll, python3.dll, vcruntime140.dll in your distro path expand('$vim/extensions/python/x86')2. Put this in your _vimrcif has('win32')if isdirectory( expand('$vim/extensions/python/x86') )var pythonthree_homes: list<string> = system('where "python311.dll"')->split('\n')execute 'set pythonthreedll=' .. pythonthree_homes[1]->fnamemodify(':p:gs?\\?/?')endifendif3. Testing Py3 v3.11 interfacennoremap <silent> <F8> :exec 'py3 import sys'<cr> :exec 'py3 print(''python3 hell working'')'<cr>Le mercredi 27 octobre 2021 à 15:58:42 UTC+2, Ni Va a écrit :Hi,Got this error on pyhton3 print('foo')E370: Could not load library python311.dll: Le module sp<e9>cifi<e9> est introuvable.E263: Sorry, this command is disabled, the Python library could not be loaded.This is my configuration1) redir @a | echomsg system('where python311.dll') | redir END | put=@aC:\Python311\python311.dll^@S:\path\Vim\to\python\x86\python311.dll^@2) echomsg filereadable('S:\path\Vim\to\python\x86\python311.dll')3) VIM - Vi IMproved 8.2 (2019 Dec 12, compiled Oct 27 2021 15:23:19)MS-Windows 32-bit GUI version with OLE supportIncluded patches: 1-3565Compiled by ni.va@Huge version with GUI. Features included (+) or not (-):+cmdline_compl +file_in_path +lua/dyn -python -termguicolors +windows+cmdline_hist +find_in_path +menu +python3/dyn +terminal +writebackupCompilation: gcc -I. -Iproto -DWIN32 -DWINVER=0x0600 -D_WIN32_WINNT=0x0600 -DHAVE_PATHDEF -DFEAT_HUGE -DHAVE_STDINT_H -DHAVE_GETTEXT -DHAVE_LOCALE_H -DDYNAMIC_GETTEXT -DFEAT_OLE -DFEAT_CSCOPE -DFEAT_NETBEANS_INTG -DFEAT_JOB_CHANNEL -DFEAT_IPV6 -DHAVE_INET_NTOP -DFEAT_TERMINAL -DFEAT_SOUND -DFEAT_DIRECTX -DDYNAMIC_DIRECTX -DFEAT_DIRECTX_COLOR_EMOJI -DFEAT_GUI_MSWIN -DFEAT_CLIPBOARD -DFEAT_MBYTE_IME -DDYNAMIC_IME -DDYNAMIC_ICONV -pipe -march=i686 -Wall -I./lua-5.3.5/src/include -I./lua-5.3.5/src -DFEAT_LUA -DDYNAMIC_LUA -DDYNAMIC_LUA_DLL="lua53.dll" -DFEAT_RUBY -I C:/Ruby30/include/ruby-3.0.0 -I C:/Ruby30/include/ruby-3.0.0/i386-mingw32 -DDYNAMIC_RUBY -DDYNAMIC_RUBY_DLL="msvcrt-ruby300.dll" -DRUBY_VERSION=30 -DFEAT_PYTHON3 -DDYNAMIC_PYTHON3 -DDYNAMIC_PYTHON3_DLL="python311.dll" -O3 -fomit-frame-pointer -freg-struct-returnLinking: g++ -I. -Iproto -DWIN32 -DWINVER=0x0600 -D_WIN32_WINNT=0x0600 -DHAVE_PATHDEF -DFEAT_HUGE -DHAVE_STDINT_H -DHAVE_GETTEXT -DHAVE_LOCALE_H -DDYNAMIC_GETTEXT -DFEAT_OLE -DFEAT_CSCOPE -DFEAT_NETBEANS_INTG -DFEAT_JOB_CHANNEL -DFEAT_IPV6 -DHAVE_INET_NTOP -DFEAT_TERMINAL -DFEAT_SOUND -DFEAT_DIRECTX -DDYNAMIC_DIRECTX -DFEAT_DIRECTX_COLOR_EMOJI -DFEAT_GUI_MSWIN -DFEAT_CLIPBOARD -DFEAT_MBYTE_IME -DDYNAMIC_IME -DDYNAMIC_ICONV -pipe -march=i686 -Wall -I./lua-5.3.5/src/include -I./lua-5.3.5/src -DFEAT_LUA -DDYNAMIC_LUA -DDYNAMIC_LUA_DLL="lua53.dll" -DFEAT_RUBY -I C:/Ruby30/include/ruby-3.0.0 -I C:/Ruby30/include/ruby-3.0.0/i386-mingw32 -DDYNAMIC_RUBY -DDYNAMIC_RUBY_DLL="msvcrt-ruby300.dll" -DRUBY_VERSION=30 -DFEAT_PYTHON3 -DDYNAMIC_PYTHON3 -DDYNAMIC_PYTHON3_DLL="python311.dll" -O3 -fomit-frame-pointer -freg-struct-return -s -municode -mwindows -o gvim.exe -lkernel32 -luser32 -lgdi32 -ladvapi32 -lcomdlg32 -lcomctl32 -lnetapi32 -lversion -lwsock32 -lws2_32 -ld2d1 -ldwrite -loleaut32 -lwinmm -Wl,-Bstatic -lstdc++ -lgcc -Wl,-Bdynamic -lgcc_eh -Wl,-Bstatic -lwinpthread -Wl,-Bdynamic -lole32 -luuid
--
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
---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/63f2f07f-b494-49f5-964a-a8a015e99343n%40googlegroups.com.
Re: Python 311 call fails
Fixed
--
--
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
---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/6f00c4d2-5162-444d-b750-0cc495446cb3n%40googlegroups.com.
Solved / Fixed :
1. Copied python311.dll, python3.dll, vcruntime140.dll in your distro path expand('$vim/extensions/python/x86')
2. Put this in your _vimrc
if has('win32')
if isdirectory( expand('$vim/extensions/python/x86') )
var pythonthree_homes: list<string> = system('where "python311.dll"')->split('\n')
execute 'set pythonthreedll=' .. pythonthree_homes[1]->fnamemodify(':p:gs?\\?/?')
endif
endif
3. Testing Py3 v3.11 interface
nnoremap <silent> <F8> :exec 'py3 import sys'<cr> :exec 'py3 print(''python3 hell working'')'<cr>
Le mercredi 27 octobre 2021 à 15:58:42 UTC+2, Ni Va a écrit :
Hi,Got this error on pyhton3 print('foo')E370: Could not load library python311.dll: Le module sp<e9>cifi<e9> est introuvable.E263: Sorry, this command is disabled, the Python library could not be loaded.This is my configuration1) redir @a | echomsg system('where python311.dll') | redir END | put=@aC:\Python311\python311.dll^@S:\path\Vim\to\python\x86\python311.dll^@2) echomsg filereadable('S:\path\Vim\to\python\x86\python311.dll')3) VIM - Vi IMproved 8.2 (2019 Dec 12, compiled Oct 27 2021 15:23:19)MS-Windows 32-bit GUI version with OLE supportIncluded patches: 1-3565Compiled by ni.va@Huge version with GUI. Features included (+) or not (-):+cmdline_compl +file_in_path +lua/dyn -python -termguicolors +windows+cmdline_hist +find_in_path +menu +python3/dyn +terminal +writebackupCompilation: gcc -I. -Iproto -DWIN32 -DWINVER=0x0600 -D_WIN32_WINNT=0x0600 -DHAVE_PATHDEF -DFEAT_HUGE -DHAVE_STDINT_H -DHAVE_GETTEXT -DHAVE_LOCALE_H -DDYNAMIC_GETTEXT -DFEAT_OLE -DFEAT_CSCOPE -DFEAT_NETBEANS_INTG -DFEAT_JOB_CHANNEL -DFEAT_IPV6 -DHAVE_INET_NTOP -DFEAT_TERMINAL -DFEAT_SOUND -DFEAT_DIRECTX -DDYNAMIC_DIRECTX -DFEAT_DIRECTX_COLOR_EMOJI -DFEAT_GUI_MSWIN -DFEAT_CLIPBOARD -DFEAT_MBYTE_IME -DDYNAMIC_IME -DDYNAMIC_ICONV -pipe -march=i686 -Wall -I./lua-5.3.5/src/include -I./lua-5.3.5/src -DFEAT_LUA -DDYNAMIC_LUA -DDYNAMIC_LUA_DLL="lua53.dll" -DFEAT_RUBY -I C:/Ruby30/include/ruby-3.0.0 -I C:/Ruby30/include/ruby-3.0.0/i386-mingw32 -DDYNAMIC_RUBY -DDYNAMIC_RUBY_DLL="msvcrt-ruby300.dll" -DRUBY_VERSION=30 -DFEAT_PYTHON3 -DDYNAMIC_PYTHON3 -DDYNAMIC_PYTHON3_DLL="python311.dll" -O3 -fomit-frame-pointer -freg-struct-returnLinking: g++ -I. -Iproto -DWIN32 -DWINVER=0x0600 -D_WIN32_WINNT=0x0600 -DHAVE_PATHDEF -DFEAT_HUGE -DHAVE_STDINT_H -DHAVE_GETTEXT -DHAVE_LOCALE_H -DDYNAMIC_GETTEXT -DFEAT_OLE -DFEAT_CSCOPE -DFEAT_NETBEANS_INTG -DFEAT_JOB_CHANNEL -DFEAT_IPV6 -DHAVE_INET_NTOP -DFEAT_TERMINAL -DFEAT_SOUND -DFEAT_DIRECTX -DDYNAMIC_DIRECTX -DFEAT_DIRECTX_COLOR_EMOJI -DFEAT_GUI_MSWIN -DFEAT_CLIPBOARD -DFEAT_MBYTE_IME -DDYNAMIC_IME -DDYNAMIC_ICONV -pipe -march=i686 -Wall -I./lua-5.3.5/src/include -I./lua-5.3.5/src -DFEAT_LUA -DDYNAMIC_LUA -DDYNAMIC_LUA_DLL="lua53.dll" -DFEAT_RUBY -I C:/Ruby30/include/ruby-3.0.0 -I C:/Ruby30/include/ruby-3.0.0/i386-mingw32 -DDYNAMIC_RUBY -DDYNAMIC_RUBY_DLL="msvcrt-ruby300.dll" -DRUBY_VERSION=30 -DFEAT_PYTHON3 -DDYNAMIC_PYTHON3 -DDYNAMIC_PYTHON3_DLL="python311.dll" -O3 -fomit-frame-pointer -freg-struct-return -s -municode -mwindows -o gvim.exe -lkernel32 -luser32 -lgdi32 -ladvapi32 -lcomdlg32 -lcomctl32 -lnetapi32 -lversion -lwsock32 -lws2_32 -ld2d1 -ldwrite -loleaut32 -lwinmm -Wl,-Bstatic -lstdc++ -lgcc -Wl,-Bdynamic -lgcc_eh -Wl,-Bstatic -lwinpthread -Wl,-Bdynamic -lole32 -luuid
--
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
---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/6f00c4d2-5162-444d-b750-0cc495446cb3n%40googlegroups.com.