Re: XSetWMNormalHints

2022-04-02 Thread Jason Weber
g something new if there was something else already in there potentially trying to do the same thing. >From a user point of view, a simple opt-in 'set' variable would make me happy. On Friday, April 1, 2022 at 9:38:23 AM UTC-7 Bram Moolenaar wrote: > > Jason Weber wrote: &

Re: XSetWMNormalHints

2022-04-01 Thread Jason Weber
. I asked someone on Arch, and he said the same change happened to him a short while back. On Friday, April 1, 2022 at 1:46:36 AM UTC-7 matthew...@gmail.com wrote: > чт, 31 мар. 2022 г. в 21:10, Jason Weber : > >> I recently upgraded from Debian 10 to Debian 11. >> >> My gvim u

XSetWMNormalHints

2022-03-31 Thread Jason Weber
I recently upgraded from Debian 10 to Debian 11. My gvim used to always do resize increments by character. Dragging a window edge would resize the window by snapping to the nearest whole character. I would even see the window size written on screen, as characters, not pixels. Now I see sizes

Re: Populate arglist with files, exclude directories

2020-01-06 Thread Jason Franklin
I appreciate the responses from everyone. However, it seems that the answer to my original question is "no". There does not appear to be a concise way to do this from the command line. Thanks! -- Jason Franklin On Monday, January 6, 2020 at 9:00:50 AM UTC-5, Johannes Degen wro

Populate arglist with files, exclude directories

2020-01-05 Thread Jason Franklin
od to omit directories from the arglist when populating it with all files below the current project directory? -- Jason Franklin -- -- 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 informat

NUL byte in 'grepformat'

2018-11-12 Thread Jason Franklin
processed. Thanks, Jason -- -- 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 Goo

Re: Start terminal in a given directory

2018-08-23 Thread Jason Franklin
The documentation under term_start() was recently updated to include this option. See my message below. https://groups.google.com/forum/#!topic/vim_dev/WAFS5NrSrB4 -- -- You received this message from the "vim_use" maillist. Do not top-post! Type your reply below the text you are replying to.

Re: Bash in :shell vs :terminal

2018-06-04 Thread Jason Franklin
Thanks, Christian. I wasn't sure it would work, but I figured it was worth asking. As I mentioned in a comment on the issue, I'm fine with a VIM_TERMINAL variable so long as it allows me to distinguish when a terminal window is in use. Thanks, again! -- -- You received this message from the

Re: Bash in :shell vs :terminal

2018-06-04 Thread Jason Franklin
m not sure, though, if my proposed solution is possible. Thanks, Jason -- -- 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

Re: Bash in :shell vs :terminal

2018-06-04 Thread Jason Franklin
hat passing the patch level isn't really necessary since a user can define an environment variable on their own for this purpose. The real problem is that descendant processes need to know that their controlling terminal is a Vim terminal window. Thanks, Jason -- -- You received this messa

Re: Bash in :shell vs :terminal

2018-06-04 Thread Jason Franklin
Hey Tim, This is not as useful because vim can be invoked by many names (e.g., a vi alias or link). Also, I don't think this works the way you think. In my vim terminal window, I don't have a listing for vim in ps output. Something more robust is needed. -- JF -- -- You received this mess

Re: Bash in :shell vs :terminal

2018-06-04 Thread Jason Franklin
Hey Christian, Unfortunately, $VIM_SERVERNAME is not always available. This happens when Vim is compiled without +clientserver. Thanks, Jason -- -- You received this message from the "vim_use" maillist. Do not top-post! Type your reply below the text you are replying to

Re: Bash in :shell vs :terminal

2018-06-04 Thread Jason Franklin
I'm actually beginning to think that this isn't possible. Even if I was able to distinguish at the level of the child shell, I don't think I could continue that for, say, a subshell of that shell. In other words, knowing something is a job with an environment variable won't tell you anything b

Re: Bash in :shell vs :terminal

2018-06-04 Thread Jason Franklin
nt prompt if bash is started with :terminal (a Vim job) as opposed to being started with :shell (a forked process). Thanks, Jason -- -- 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 h

Re: Bash in :shell vs :terminal

2018-05-30 Thread Jason Franklin
I am aware of "test -t", but I don't see how it helps here. I want the prompt to adjust based on whether I'm using :term or :sh. So, the method needs to work in interactive shell sessions. -- JF -- -- You received this message from the "vim_use" maillist. Do not top-post! Type your reply belo

Bash in :shell vs :terminal

2018-05-30 Thread Jason Franklin
I would like for bash to be able to discern whether it is being run with :shell or with :term. I would assume this would need to be done with an environment variable. Does this feature to do something like this already exist? -- Jason -- -- You received this message from the "vi

Re: vim and FORTH-"IDE"-ish environment

2018-05-29 Thread Jason Felice
In Vim, it should be as easy as `:w /dev/ttyACM0`, and you could map something like so: `nmap :w /dev/ttyACM0`. On Tue, May 29, 2018 at 12:24 PM, wrote: > Hi, > > (I am on Linux.) > > just for fun, entertainment and doing something new, I installed > Mecrisp-Stellaris FORTH on a STM32F103C8T6 (

Detecting `undo` and `redo` from TextChanged

2018-04-16 Thread Jason Felice
I have are to nmap u and (ick), or to somehow check the number returned by getchangelist()... although I getchangelist('%')[1] doesn't seem to ever return the current change, as far as I can tell. Thanks, -Jason -- -- You received this message from the "vim_use" m

Re: howto ignore temporary git files on the jump list

2018-04-11 Thread Jason Franklin
nd since the jumplist is inherited from a parent window, you can avoid having these items in your jumplist by not "splitting off" from a window in which you're editing these files. I'm not aware of any setting that will disable the jumplist for a particular file. Best, Jason

Re: "zz" vs ":echo"

2018-04-10 Thread Jason Felice
zz centers the cursor in the window *vertically* by scrolling the window. This is why the window is scrolling. When the cursor is above the 1/2 the screen height, zz doesn't scroll because there's no more file to display. Once below that point, it will keep the cursor in the middle row. There is

Re: Split navigation plugin?

2018-04-04 Thread Jason Felice
This plugin is exactly what I was looking for. Thank you! -Jason On Tue, Apr 3, 2018 at 7:29 PM, Shidong Wang wrote: > this plugin already exist. you can have a try with choosewin.vim > > https://github.com/t9md/vim-choosewin > ---Original--- > *From:* "Jason Felice&q

Split navigation plugin?

2018-04-03 Thread Jason Felice
s actually inspired by the Vimium plugin for Chrome, which is, of course, inspired by Vim. Which is kind of neat. :) Has anyone done something like this? -Jason -- -- You received this message from the "vim_use" maillist. Do not top-post! Type your reply below the text you are replying to.

Re: NERDTree opens half of screen instead of NERDTreeWinSize

2018-03-28 Thread Jason Franklin
Oliver, When you run ":wincmd =" you tell Vim to equalize window sizes to the best of its ability. This is definitely the cause of your problem. I would rethink both of those autocommands. They would likely break a number of different plugins. B

Re: NERDTree opens half of screen instead of NERDTreeWinSize

2018-03-28 Thread Jason Franklin
the NERDTree. Can you give explicit instructions on how to replicate this behavior? Thanks! Jason -- -- 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

Re: 'normal' doesn't trigger TextChangedI

2018-03-23 Thread Jason Felice
https://github.com/eraserhd/parinfer-rust/blob/master/tests/run.vim#L40-L65 is the interesting bit. On Fri, Mar 23, 2018 at 12:30 PM, Lifepillar wrote: > On 23/03/2018 15:41, Jason Felice wrote: > >> I couldn't get feedkeys() to trigger TextChangedI either, so I've >&g

Re: 'normal' doesn't trigger TextChangedI

2018-03-23 Thread Jason Felice
I couldn't get feedkeys() to trigger TextChangedI either, so I've rewritten my tests to use a terminal with small delays between keystrokes, and this works. Thanks! On Wed, Mar 21, 2018 at 5:28 PM, Bram Moolenaar wrote: > > Jason Felice wrote: > > TextChangedI is only t

'normal' doesn't trigger TextChangedI

2018-03-21 Thread Jason Felice
at least? It might not trigger InsertEnter either. I want to write tests for my plugin, so is there a better way to simulate normal input? Thanks, -Jason -- -- You received this message from the "vim_use" maillist. Do not top-post! Type your reply below the text you are replying to

Re: ci, (or something?)

2018-03-12 Thread Jason Felice
@John @Jason . Thanks! Both seem neat! I'm going to try vim-angry for now, since target changes a bunch, including things I probably rely on. Thanks, -Jason On Mon, Mar 12, 2018 at 8:27 AM, Jason Franklin < jrfrank...@georgiasouthern.edu> wrote: > On Saturday, March 10, 2018 at

Re: ci, (or something?)

2018-03-12 Thread Jason Franklin
On Saturday, March 10, 2018 at 7:02:15 PM UTC-5, Jason Felice wrote: > Is there something that changes a function parameter in a C-style language, > e.g. delimited by commas or parens?  I find myself wanting this frequently. > > > Thanks, > -Jason Hey Jason, I use the p

ci, (or something?)

2018-03-10 Thread Jason Felice
Is there something that changes a function parameter in a C-style language, e.g. delimited by commas or parens? I find myself wanting this frequently. Thanks, -Jason -- -- You received this message from the "vim_use" maillist. Do not top-post! Type your reply below the text you ar

Re: What is the fastest way to detect modifications to any listed buffer?

2017-12-07 Thread Jason Franklin
Thanks, Christian. I have various versions of Vim running on a lot of machines, so its best if I keep with older methods. Will keep this in mind going forward, though! *Jason R. Franklin**Associate Systems Software Developer* Enterprise Technology

Re: What is the fastest way to detect modifications to any listed buffer?

2017-12-07 Thread Jason Franklin
Luc, Thanks for the reply! Looks like doing it in one step is preferable because we're already having to filter the buffers anyway. *----Jason R. Franklin**Associate Systems Software Developer* Enterprise Technology Solutions Georgia Southern Unive

What is the fastest way to detect modifications to any listed buffer?

2017-12-07 Thread Jason Franklin
I would like an indicator in my 'titlestring' that informs me if ANY changes are present in ANY listed buffer. This would be more like a global indicator for the 'modified' setting. What is the most efficient way to do this? Currently, I've taken the naive approach: function! g:ChangesExist(

Problem with :argdo and :vimgrep on latest Windows build

2017-08-28 Thread Jason Franklin
I'm using VIM 8.0.586 on Windows 10. Recently, I've experienced strange and unexpected behavior when using ":argdo" and ":vimgrep". When I use either of these commands, the text being operated on or searched seems to "fly by" on the screen. This is almost as if VIM is playing out the operations

Something is overriding my comments= commands

2013-03-05 Thread Jason
I have a .vimrc where I run: set comments= I added the command to my ~/.vim/cpp.vim file and ~/.gvimrc file as well. Yet somehow, I have comments set to a non-blank value that puts garbage all over my files when I run my comment creation macros. I can unset it by hand in every session, but the

can I disable input method in vim normal mode

2011-11-21 Thread jason . 桂林
will never use chinese input method at normal mode, and visual mode. so can I disable input method at these mode? If I can't, I think it's a big problem. -- Best regards, Jason Green 桂林 -- You received this message from the "vim_use" maillist. Do not top-post! Type you

can I search no backwards?

2011-11-12 Thread jason . 桂林
I want to find next ')' and insert a comma, I use /)i, but sometimes if there is no ) forward, it goes backward search, not what I want, can I force it search forward? -- Best regards, Jason Green 桂林 -- You received this message from the "vim_use" maillist. Do not top-p

can vim show characters inputting when used inoremap

2011-11-12 Thread jason . 桂林
hi inoremap {%= {%= %} if I type {% it show % waiting I finish '{%=' it shows the result, can vim show the chars inputting when I use inoremap? -- Best regards, Jason Green 桂林 -- You received this message from the "vim_use" maillist. Do not top-post! Type your repl

Re: xmledit no longer works for me

2011-11-11 Thread jason . 桂林
Sorry I mean this https://github.com/sukima/xmledit/ 在 2011年11月12日 上午3:15,Christian Brabandt 写道: > Hi jason.桂林! > > On Sa, 12 Nov 2011, jason.桂林 wrote: > > > xmledit no longer works for me > > vim version : 7.3 > > OS X > > > > | it should | > &g

xmledit no longer works for me

2011-11-11 Thread jason . 桂林
xmledit no longer works for me vim version : 7.3 OS X | it should | > it should be | and when I press http://www.vim.org/maillist.php

Re: How to copy to or paste from clipboard at mac OS X

2011-11-11 Thread jason . 桂林
someone > else. > > I hope this helps > > On 11 Nov 2011, at 18:03, jason.桂林 wrote: > > I am using MacVim now, copy paste is a very big trouble for me. > > If I use Cmd+V to paste, the indent and some auto things will make the > code totally chaos. > > If I select a

Re: what should I know if I want to wrote a simple plugin like this

2011-11-11 Thread jason . 桂林
('"', '"') call SmartPairs("'", "'") call SmartPairs('(', ')') call SmartPairs('{', '}') call SmartPairs('[', ']') call SmartPairs('/*', '*/') call SmartPairs('

Re: How to copy to or paste from clipboard at mac OS X

2011-11-11 Thread jason . 桂林
thank you paste resolved 在 2011年11月12日 上午2:16,Jane Smith 写道: > For pasting have you tried > :set paste > then paste using Cmd-V in insert mode > then > :set nopaste > > > On 11 Nov 2011, at 18:03, jason.桂林 wrote: > > I am using MacVim now, copy paste is a very bi

How to copy to or paste from clipboard at mac OS X

2011-11-11 Thread jason . 桂林
I am using MacVim now, copy paste is a very big trouble for me. If I use Cmd+V to paste, the indent and some auto things will make the code totally chaos. If I select and use Cmd+C to copy, the line number will include in the code I am mess up -- Best regards, Jason Green 桂林 -- You

Re: what should I know if I want to wrote a simple plugin like this

2011-11-11 Thread jason . 桂林
t inoremap , , autocmd FileType javascript inoremap : : 1. not works if insert ( [ { in the center of a line, only works at the end of the line, 2. Can I use inoremap in function too? I want add this in function inoremap ) strpart(getline('.'), col('.')-1, 1) == ")" ?

what should I know if I want to wrote a simple plugin like this

2011-11-11 Thread Jason
I just need a very simple plugin, I want do it myself, when I press { , it become below `I` means cursor { I } if I press ({ it goes to ({ I }) |( => (|) |{ => {|} I don't want to know every thing about plugin development, but I want to know the most useful things about write a pl

Setting "tw=0" - can text be wrapped at a custom length still?

2011-07-09 Thread Jason Timrod
ave.  Was formatoptions the right thing to be reading about?  Any ":h" pointers are welcome as well.  :) TIA! Jason -- 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

Re: Vim statusline examples with screenshots?

2011-07-09 Thread Jason Timrod
Hi all, Thank you to every one who's replied -- it's been really useful.  When I put something together which suits me, based on all these wonderful suggestions, I'll let people know! Thanks! Jason - Original Message - From: Marcin Szamotulski To: vim_use@googlegroup

Re: Vim statusline examples with screenshots?

2011-07-06 Thread Jason Timrod
Oh - should this matter, I'd prefer this in console Vim and not gvim.  Thanks.   :) - Original Message - From: Jason Timrod To: "vim_use@googlegroups.com" Cc: Sent: Wednesday, July 6, 2011 10:15 PM Subject: Vim statusline examples with screenshots? Hi all, I'm

Vim statusline examples with screenshots?

2011-07-06 Thread Jason Timrod
the default.. So, anyone prepared to show their statusline, preferably with a screenshot as well as the config for it? TIA! Jason -- 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

highlight search limit to current window?

2011-06-16 Thread Jason Timrod
specific window, not across all windows.  Is there a way of limiting this somehow? TIA! Jason -- 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

Quitting Vim.

2011-04-23 Thread Jason Heyes
Hi, How do I quit all windows? Thanks. -- 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

Re: search highlight whole word

2011-03-04 Thread jason
I bind key to :set nohl. So when I finish searching, type these key to disable highlight. On 3/3/11, Yuliang Wang wrote: > Dear Fellows, > > If the hlsearch is set, then all instances are highlighted, but we need to > unset it every time when the search is finished. If hlsearch is not set, > the

Question about omnicppcomplete

2011-02-25 Thread jason
I use Vim and omnicppcomplete script for C programming for a long time. There are powerful. These day I got some code from product vender. There are some struct defines with the same name. I found omnicppcomplete complete wrong members in some case. Here is a example. In the code frome MosaicDispla

Ported vim to android!

2010-08-21 Thread Jason Holt
Tonight I managed to get vim to compile for android: http://credentiality2.blogspot.com/2010/08/native-vim-for-android.html -- 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.or

Need help with creating my own syntax file.

2010-04-04 Thread Jason Chi
. option 5. Thanks in advance for your time and help. Jason -- 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 To unsubscribe, reply using "remove me" as the subject.

Re: Remote Mouse Support

2010-01-07 Thread Jason Axelson
h the keyboard and put it into my local X > buffer (to paste with shift-insert). None of this currently works for me. I just wanted to report that I do have this working, although often times it gets in the way for me so I may turn it off in the future. Jason -- You received this message from

Re: Need help to design Vim T-shirts

2009-12-01 Thread Jason Axelson
ooks good. I like having it like :wq! Jason -- You received this message from the "vim_use" maillist. For more information, visit http://www.vim.org/maillist.php

customize my initial window size

2009-11-13 Thread Jason
I would like to set the initial window size and position of Gvim in Ubuntu. In my .vimrc file, I have: if has("gui_running") " GUI is running or is about to start. " Maximize gvim window. set lines=99 columns=100 else " This is console Vim. if exists("+lines") set lines=99 endif

Re: replace string with deleted line

2009-11-10 Thread Jason
interestingly, I'm finding gvim might be faster and easier for manipulating data than a spreadsheet. On Nov 10, 10:14 am, Christian Brabandt wrote: > Hi Jason! > > On Di, 10 Nov 2009, Jason wrote: > > > I want go through the entire file and remove the lines with the wo

Re: replace string with deleted line

2009-11-10 Thread Jason
thank you everyone! That is pretty simple! I also appreciate the grep example. On Nov 10, 10:14 am, Christian Brabandt wrote: > Hi Jason! > > On Di, 10 Nov 2009, Jason wrote: > > > I want go through the entire file and remove the lines with the words > > "foo".

replace string with deleted line

2009-11-10 Thread Jason
I have a file that contains a bunch of lines with only the word "foo" on it. I want go through the entire file and remove the lines with the words "foo". Not just remove the word, but the entire line. How is this done in vim? I tried :%s/foo//g but it left the line thank you! --~--~-

Re: Minimap in VIM ?

2009-10-18 Thread Jason Axelson
split windows of the text with font size 1 may be > !?!? Does anyone know if SublimeText actually uses a low resolution font or if it actually renders it as a picture and then shrinks it down? Does it really make much of a difference? I know that the Emacs implementation just u

Re: Need help to design Vim T-shirts

2009-10-17 Thread Jason Axelson
her hard to choose between A and B because it may look significantly different on the shirt than it does on my computer screen. Jason --~--~-~--~~~---~--~~ You received this message from the "vim_use" maillist. For more information, visit http://www.vim.org/maillist.php -~--~~~~--~~--~--~---

Re: mapping alt-keys

2009-10-08 Thread Jason Axelson
going on with getting the alt key from my keyboard to > vim. What I did to get alt/meta mappings to work was turn off the "meta sends escape" setting in xterm. This is probably why you see the ^ [ which is escape being printed. I think you will also need to do this to h

Re: emulating typewriter sound

2009-10-05 Thread Jason Axelson
On Mon, Oct 5, 2009 at 7:15 AM, Gene Kwiecinski wrote: > That's a function (if available, naturally) of the keyboard driver and/or > console itself, not the app. But does that preclude the possibility of including it in the application itself? --~--~-~--~~~---~--~--

Re: Is this ccomplete's bug?

2009-10-02 Thread jason
Thank you very much! 2009/10/2 Stahlman Family > > You need to change typedf to typedef in your source files. Neither C nor > ctags recognizes the former spelling. > > Brett Stahlman > > > > --~--~-~--~~~---~--~~ You received this message from the "vim_use" mail

Re: Is this ccomplete's bug?

2009-10-01 Thread jason
found". Are these operations correctly? Thanks! B.R. 2009/10/2 Stahlman Family > > > > jason wrote: > > Hi Brett > > I tried omnicppcomplete-0.41 as Dominique's setting, > > but it didn't work for me. > > Error message is "Omni Completion

Re: Is this ccomplete's bug?

2009-10-01 Thread jason
dea to get it solved. Thanks! B.R. 2009/10/2 Brett Stahlman > > > > On Oct 1, 6:30 am, jason wrote: > > Hi Dominique > > I don't use omnicppcomplete-0.41, I use vim's default omnicomplete > function. > > These is my .vimrc setting about omnicomplete functi

Re: Is this ccomplete's bug?

2009-10-01 Thread jason
sor behind "sA.", press C-X C-O, omnicomplete's completion information is members of struct tagBBB, but not members of struct tagAAA. Thanks! B.R. 2009/10/1 Dominique Pellé > > jason wrote: > > > I found ccomplete function is not OK for every time. > > As

Re: About plugins and placement in ~.vim

2009-09-30 Thread Jason Axelson
placeholder" (of > the folder structure one have to create in side .vim) to let the user > identify which file goes in which folder inside .vim I would prefer it if we could link a standard set of install instructions on all vim plugins (ie, the plugin developers don't inc

Re: separate gvim and vim in a single .vimrc [no .gvimrc]

2009-09-27 Thread Jason Axelson
On Sun, Sep 27, 2009 at 10:31 AM, Harry Putnam wrote: > " Only apply this in gvim >  if has("gui-running") >    colors peachpuff >  endif I think it's just a simple typo. It should be gui_running with an underscore rather than g

Re: xfce/terminal right click send vim to "visual" mode

2009-09-25 Thread Jason Axelson
t; Bob Hi Bob, It sounds like the mouse is being used by vim when you would prefer it not to. Try looking at: :help mouse Alternatively, simply hold down shift while dragging/clicking should do the trick. Jason --~--~-~--~~~---~--~~ You received this message fr

Editing with VI and rxvt as terminal type

2009-09-17 Thread Jason
Hey Everyone, I just got a job working with unix on a daily basis. I have a script that I call that will launch a terminal for me. In this case it launches rxvt. I use the script to ssh into a box and by calling the script it opens up the ssh in a new window for me. The problem I am running into

Re: Need help to design Vim T-shirts

2009-09-09 Thread Jason Axelson
else. Preferably the something else should be a bit mysterious. I like the :wq idea on the back of the shirt. Jason --~--~-~--~~~---~--~~ You received this message from the "vim_use" maillist. For more information, visit http://www.vim.org/maillist.php -~--~~~~--~~--~--~---

Re: inserting a column of &s into a text table for latex

2009-08-25 Thread Jason Axelson
uming the columns are identical): qqa & wa & wa & 0j The above would record the macro, and then to play it use: @q Which could optionally by lead by a count to do it count many times :help q :help CTRL-V Jason --~--~-~--~~~-

Re: Suggest a vim task for a college workshop

2009-08-25 Thread Jason Axelson
ould also add the Graphical Vim Cheat Sheet to that list. http://www.viemu.com/a_vi_vim_graphical_cheat_sheet_tutorial.html Jason --~--~-~--~~~---~--~~ You received this message from the "vim_use" maillist. For more information, visit http://www.vim.org/maillist.php -~--~~~~--~~--~--~---

Re: Automatically formatting (adding spaces)

2009-08-16 Thread Jason Axelson
ided that instead of doing something like: set equalprg=astyle I added: nnoremap :%!astyle To my .vimrc Jason --~--~-~--~~~---~--~~ You received this message from the "vim_use" maillist. For more information, visit http://www.vim.org/maillist.php -~--~~~~--~~--~--~---

Re: Automatically formatting (adding spaces)

2009-08-11 Thread Jason Axelson
On Tue, Aug 11, 2009 at 8:53 AM, Peng Yu wrote: > I add "set equalprg=astyle" to my .vimrc and installed astyle. I open > an R file with gvim and type '--'. But the style is still not what I > want. It sounds like you didn't configure astyle. You can look at some of the options at: http://astyle

Re: collaborative text editing with Vim?

2009-07-24 Thread Jason Axelson
e turns, especially since vim is modal. I believe that the OP wants a way to only share buffers, which would be a non-trivial task. Jason --~--~-~--~~~---~--~~ You received this message from the "vim_use" maillist. For more information, visit http://www.vim.org/maillist.php -~--~~~~--~~--~--~---

Re: Vim tabs and buffers

2009-06-28 Thread Jason Axelson
> Which one of these methods is preferred? Personally, I prefer to use :set confirm This way when leaving a file it will ask me if I want to save it or not. Jason --~--~-~--~~~---~--~~ You received this message from the "vim_use" maillist. For more inf

Re: after quitting vim, show no tilde lines on console

2009-06-10 Thread Jason Axelson
-n +2 && rm test.sql.tmp The unix server I have access to does what you want (except it includes the tildes) with both vi and vim 6.2.149 so I would assume there is some non-hackish way to do what you want to do. I think it would involve messing with the terminal settings, although that may me

Re: extending tags mechanism

2009-06-02 Thread Jason Axelson
t it would greatly simplify the scripts that you mentioned. Of course, I could be totally off-base on this. Jason --~--~-~--~~~---~--~~ You received this message from the "vim_use" maillist. For more information, visit http://www.vim.org/maillist.php -~--~~~~--~~--~--~---

Re: How to co-editing?

2009-06-01 Thread Jason Axelson
er mode, simply run screen -x Regards, Jason --~--~-~--~~~---~--~~ You received this message from the "vim_use" maillist. For more information, visit http://www.vim.org/maillist.php -~--~~~~--~~--~--~---

Re: save on insert mode exit

2009-05-19 Thread Jason Axelson
On Tue, May 19, 2009 at 1:11 PM, Ben Fritz wrote: >> :au InsertLeave w >> > > Probably better to use: > > :au InsertLeave update > What would happen with these if the file was edited by an external program? --~--~-~--~~~---~--~~ You received this message from t

Re: How to save recordings in vimrc

2009-05-13 Thread Jason Axelson
> editing your recordings after you've made them too Couldn't you just do: "qp If you saved the macro in register q? I think that would be much easier unless you have many that you want to save at once with :reg Jason --~--~-~--~~~---~--~~ You rec

Re: set spell not checking certain files

2009-05-13 Thread Jason Jones
On Wed, 13 May 09 at 1347 -0700, Michael Repucci wrote: > > Hi Vimmers, > > I'm relatively new to Vim, and having some trouble with the spell > check. I set spell checking on in my ~/.vimrc with the line "set spell > spelllang=en_us" (without quotes). This works fabulously for certain > files (e

Re: vim treats "write only" files as "read only"

2009-04-26 Thread Jason Axelson
On Sun, Apr 26, 2009 at 2:38 PM, Ben Schmidt wrote: > cat Here is a new message >> log-file > cat Here is a new message >> mailbox-belonging-to-somebody-else Shouldn't that be echo instead of cat? Jason --~--~-~--~~~---~--~~ You receive

Re: A-Left and A-Right not working inside Screen

2009-04-25 Thread Jason Axelson
On Sat, Apr 25, 2009 at 6:12 AM, Mr.SpOOn wrote: > The menu "Tools" of what? I'm using Vim, not gVim. Is it the same? Many times alt-t will be mapped to the tools menu of the terminal emulator. That may not be the case for

Re: How to open - and fileencodings for various code pages

2009-04-21 Thread Jason Axelson
cause other people may be interested (and because they have an excellent graphical vim cheatsheet). Here is the website http://www.viemu.com/ Jason --~--~-~--~~~---~--~~ You received this message from the "vim_use" maillist. For more information, vis

Re: How to move cursor in insert mode?

2009-04-07 Thread Jason Axelson
On Tue, Apr 7, 2009 at 8:47 PM, Ouyang Jiannan wrote: > imap jj > > I like it!! Another common binding for esc (I believe it is fully portable) is ctrl-[ Jason --~--~-~--~~~---~--~~ You received this message from the "vim_use" maillist. F

Re: The list policy, AGAIN

2009-03-30 Thread Jason Axelson
y respond directly to anyone who top-posts and send a copy to a volunteer who will double-check that it is a top-post. However, I'm not sure how feasible or reliable that would be. Just my 2 cents, Jason --~--~-~--~~~---~--~~ You received this message from the &quo

Re: Vi editor for answering emails?

2009-02-25 Thread Jason Axelson
:addons It is all explained in the help you get when you press f1. Jason On Tue, Feb 24, 2009 at 10:44 PM, James Freer wrote: > > 2009/2/25 J.A.J. Pater : >> >> Ted Pavlic schreef: >>> To each his own, I suppose. >>> >> To which I fully agree. Do w

Re: What is the shell VIM uses for ":!" ?

2009-02-09 Thread Jason Foreman
shrc (using ksh). If I do :!alias, I do not get > any of the aliases I set up in my .kshrc. > > Does anyone know how to rectify this, or at least explain it? Vim uses the 'shell' variable, along with a handful of others wh

Re: fuzzyfinder

2008-12-13 Thread Jason Foreman
t the fuzzyfinder_textmate extension installed, which has not been updated to support the latest fuzzyfinder. Try removing the fuzzyfinder_textmate plugin to see if fuzzyfinder works by itself. I have a version that works with 2.16, I'll try to push it out to github soon. Jason smime.p7s D

Re: Mousehide Not Working

2008-10-22 Thread Jason Foreman
r is always visible for me as well. No idea how to fix it--I never really noticed until I read this thread :) I'm using a self-compiled Vim 7.2.25, GTK2 GUI on RHEL3, with Xming over PuTTY(plink) on WinXP. Jason --~--~-~--~~~---~--~~ You received this message

Re: Joining lines within comments

2008-10-15 Thread Jason Foreman
be possible to extend/enhance it to account for the filetype automatically and maybe only remove comment leaders if the current line is a comment. Jason --~--~-~--~~~---~--~~ You received this message from the "vim_use" maillist. For more information,