Re: How do you go directly to the beginning of a function?

2009-07-24 Thread Karthick Gururaj
On Fri, Jul 24, 2009 at 1:05 PM, tirengarfio wrote: > [...] > ...in Ultraedit if i open a class i have a window with the list of the > name of the methods of the class. If i click in one of the functions of the > list, the beginning of the function appears. > > How do you do this is Vim? Check th

Re: where to write 'after' scripts?

2009-09-24 Thread Karthick Gururaj
On Thu, Sep 24, 2009 at 5:36 PM, Steven Woody wrote: > > Hi, > Reading the "help after-directory" leads me into confusing.  I tried many > place to put my after script, e.g. ~/vimfiles/after/a.c. But it seems it is > not loaded.  So, Would you please show me that. Thanks. Try ~/vimfiles/after/p

Re: where to write 'after' scripts?

2009-09-24 Thread Karthick Gururaj
On Thu, Sep 24, 2009 at 5:59 PM, Steven Woody wrote: > On Thu, Sep 24, 2009 at 8:14 PM, Karthick Gururaj > wrote: >> >> On Thu, Sep 24, 2009 at 5:36 PM, Steven Woody >> wrote: >> > >> > Hi, >> > Reading the "help after-directory"

Re: Determining if Vim is running in text-console mode or X Windows

2011-02-01 Thread Karthick Gururaj
On Tue, Feb 1, 2011 at 2:53 PM, Steve Laurie wrote: > Hi, > > I've searched Vim help and Google as well as done lots of experimentation > with no luck. > > Basically, what I'm trying to do is put something in my .vimrc file that can > determine if I'm starting Vim in text-console mode or in gnome-

Re: Determining if Vim is running in text-console mode or X Windows

2011-02-01 Thread Karthick Gururaj
On Tue, Feb 1, 2011 at 3:30 PM, Christian Brabandt wrote: [snip] > So you basically distinguish it by inspecting your $TERM variable. First > determine in both situations what your $TERM is set to, then put something > like this in your .vimrc Ah, I mis-read the post. Clearer now :) -- You

Re: string type in vim script language

2011-02-01 Thread Karthick Gururaj
On Tue, Feb 1, 2011 at 6:21 PM, shuda Li wrote: > Hi, all > > I'm new to vim script language and struggling to code a simple > function to switch between header and source. > Here are the > > function! SwitchSourceHeader() >    if (expand ("%:e") == "cpp" || expand ("%:e") == "c" || expand > ("%:e

Re: vimrc options only if running gvim

2011-03-24 Thread Karthick Gururaj
On Thu, Mar 24, 2011 at 3:23 PM, statquant2 wrote: > Hello guys, > I have some options in my vimrc that I only want to be executed when running > gvim. > I created a gvimrc and vimrc but it seems that when I run vim it is picking > the gvimrc now. Have you by any chance sourced the .gvimrc in .vi

Re: Cut-and-Paste with :g//d

2011-05-12 Thread Karthick Gururaj
On Wed, May 11, 2011 at 10:39 PM, Taylor Hedberg wrote: > [snip] > > Note that if there's already something in register a, it won't > automatically be cleared before your global command executes, so you'll > probably want to clear it first with: > >    :let @a = "" I personally use 'qaq' in normal

Re: 'commandline' vs ':e' for jump to line (FEAT. REQ)

2011-05-18 Thread Karthick Gururaj
On Wed, May 18, 2011 at 1:08 PM, crabsody wrote: > Hi Christian! > > No this is probably not what I want. But quickfix is a great feature I > didn't know about. Thank you very much. I will check it out when I > have the time to recompile vim with quickfix option. Well, quickfix seems to be exactly

Re: 'commandline' vs ':e' for jump to line (FEAT. REQ)

2011-05-19 Thread Karthick Gururaj
On Wed, May 18, 2011 at 7:03 PM, crabsody wrote: > I tried to use :make (quickfix) but I have some problems. First of all how > can I have only the errors and avoid all the warnings? Then how can I set to > search only through my source files (*.c, *.cpp ) and not other scripts I > have in the dir

Re: 'commandline' vs ':e' for jump to line (FEAT. REQ)

2011-05-19 Thread Karthick Gururaj
akefile filename > too. That is correct. > > On 19 May 2011 10:43, Karthick Gururaj [via VIM] <[hidden email]> wrote: >> >> On Wed, May 18, 2011 at 7:03 PM, crabsody <[hidden email]> wrote: >> > I tried to use :make (quickfix) but I have some problems. First o

Re: Split Saving

2011-12-01 Thread Karthick Gururaj
On Thu, Dec 1, 2011 at 5:59 PM, Tim Chase wrote: > On 12/01/11 06:20, George Papanikolaou wrote: > >> Is there any way I can save all the splits with one command? >> > > You may be looking for either > > :help :mkview > :h :loadview > > or more likely > > :h :mksession > :h :source > :h 'ses

Re: Help with VIM syntax region regex please....

2012-01-02 Thread Karthick Gururaj
On Mon, Jan 2, 2012 at 5:40 AM, wombatvvv wrote: > > Hello, > > I'm doing something a little complex with my syntax highlighting, and I'm > having a problem. > > I want if-blocks to be highlighted differently. I want the if-block to start > with the word "if" and end one-space before the { symbol,

Re: Bug in macro recording/playback re. shift+tab?

2012-01-03 Thread Karthick Gururaj
On Tue, Jan 3, 2012 at 9:28 PM, Tim Chase wrote: > Playing with a vimgolf puzzle[1], I encountered what I believe to be a bug. >  The top-ranked solution currently does > > qqYpq8@qqqH$by3a p:%norm 0yiw$@"q8@q6GA ZZ > > to solve the puzzle.  Knowing that "norm" can be shortened one character by >

Re: Can vim create table like this?

2012-01-09 Thread Karthick Gururaj
On Mon, Jan 9, 2012 at 7:45 AM, Peng Yu wrote: > Hi, > > I see that emacs can create table like this. Does vim have a plugin > that offers similar capability? > > http://www.youtube.com/watch?v=EQAd41VAXWo&feature=related > table.vim script seems to come close? Never used it myself though. See: ht

Re: Find in all files..

2012-01-09 Thread Karthick Gururaj
On Mon, Jan 9, 2012 at 11:16 AM, sathyashrayan wrote: > Thanks for the reply. I think i have got some clue to make a project search. > I referred this link > http://www.refreshinglyblue.com/2009/02/17/recursive-searching-in-vim-with-grep-vimgrep/ > So my next doubt is what are the possible pattern

Re: Match string - quotes excluded

2012-01-09 Thread Karthick Gururaj
On Mon, Jan 9, 2012 at 5:38 PM, Fernando Basso wrote: > Say I have: > >    "a" more thext "b" > > Then, /"[^"]*" will find two separate strings. However, what if I want > not to include the quotes? I have tried: > >    /"\zs[^"]*\ze" > > But it becomes too greey, and .. I think greediness is not t

Re: Match string - quotes excluded

2012-01-09 Thread Karthick Gururaj
On Mon, Jan 9, 2012 at 9:27 PM, Fernando Basso wrote: > On 01/09/2012 01:56 PM, Ben Fritz wrote: > > On Jan 9, 6:24 am, Fernando Basso wrote: > > I want to highlight text inside quotes, but not the quotes themselves. > > Highlight with syntax highlighting, or just search highlighting? > > > With

Re: Can vim create table like this?

2012-01-09 Thread Karthick Gururaj
On Mon, Jan 9, 2012 at 10:18 PM, Marc Weber wrote: > Excerpts from Karthick Gururaj's message of Mon Jan 09 12:48:38 +0100 2012: >> table.vim script seems to come close? Never used it myself though. >> See: >> http://vim.wikia.com/wiki/Smarter_Table_Editing_II >> http://www.vim.org/scripts/script.

Re: Can vim create table like this?

2012-01-09 Thread Karthick Gururaj
On Tue, Jan 10, 2012 at 12:10 PM, lith wrote: > Am Dienstag, 10. Januar 2012 06:03:02 UTC+1 schrieb Karthick: >> >> > You can do calculations. Neither the wiki nor the code of "table.zip" >> > contained the word "sum". Didn't read the docs though. >> >> But it is possible to script it in vim. I wo

Re: Search and Replace Across Multiple Files

2010-03-06 Thread Karthick Gururaj
On Sat, Mar 6, 2010 at 12:53 PM, Davaris wrote: > > Hi, > I'm a new Vim user and want to use it to convert some JavaScript code to > C# > code. > > The only problem is I can't get the patterns to work. :-/ > > I was given this to use, > > %s/var \(.*\) : \(.*\) = \(.*\);/\2 \1 = \3;/g > %s/var \

Re: how to check path / extension /session variable?

2010-03-08 Thread Karthick Gururaj
On Mon, Mar 8, 2010 at 8:58 PM, rameo wrote: > [snip] > > I can't find out how: > > 1) to check if a file has the name "itsalltext" in the path > to check if a file has the extension .eml > Not sure what you want exactly.. by path do you mean the vim variable 'path' ? The help text for the vari

Re: motion end of line excluding space

2010-03-11 Thread Karthick Gururaj
On Thu, Mar 11, 2010 at 6:02 PM, sinbad wrote: > hi, > > how to move to end of line ignoring end of line spaces. meaning i have > to move to first space of end of line. > /\s\+$/s Search (/) for one or more spaces (\s\+) followed by end of line ($) and then move to the start of match (/s -- Yo

Re: Search & Replace

2010-04-02 Thread Karthick Gururaj
On Fri, Apr 2, 2010 at 10:10 AM, Kunal Bajpai wrote: > To this html code I wanted to select the text between the tags and replace > the original text with \n character removed. There is a more complex example > that I wanted to ask, here is the problem: > > Original > _

Re: Moving to start of a block - question

2010-04-02 Thread Karthick Gururaj
On Fri, Apr 2, 2010 at 12:07 PM, Rajesh Kannan wrote: > G'Day! > > Say I have the following code: > > L# > 1 void main() > 2 { > 3fun1() > 4 } > 5 > 6 void fun1(){ > 7 ... > 8 } > > If at L3 I type '[[' (without quotes) in command mode then vim takes > the cursor to L2. > If at L7 I type

Re: jumping to errors in non-existent files

2010-10-01 Thread Karthick Gururaj
On Fri, Oct 1, 2010 at 7:30 PM, Jeff Perry wrote: > > When I run my program from within vim > > :./xyz > > and the program errors out with a runtime error, e.g.: > >     myprog: myprog.cpp:123: assertion 'x==1' failed > > vim tries to interpret the the output and jump to the offending line nu

Re: How to change bg-color based on word content

2010-11-06 Thread Karthick Gururaj
On Fri, Nov 5, 2010 at 10:23 PM, Oded Horovitz wrote: > Hi, > > I wonder if there is a way to examine every word in a document as it is > loaded and > select a bg color for that word. You could write a custom syntax-highlighting scheme. See :help syntax For e.g, syntax keyword My_IO_Funcs "\zs\

Re: caps lock invert in insert mode? (Fortran 77 editing)

2010-11-22 Thread Karthick Gururaj
On Mon, Nov 22, 2010 at 5:31 PM, Rob wrote: > I find it quite awkward to edit a language such as Fortran 77 where all > keywords are in capitals.  I am constantly turning caps lock on and off, > sometimes forgetting which means I then enter the wrong commands. > > Is there any vim feature to mak

Re: caps lock invert in insert mode? (Fortran 77 editing)

2010-11-22 Thread Karthick Gururaj
On Mon, Nov 22, 2010 at 6:02 PM, Rob wrote: >> Check :help inoremap >> >> For e.g, >> :inoremap a A >> :inoremap A a > > Thanks, but I can't get this to work.  Am I correct in thinking that having > done this, typing 'a' in insert mode should insert 'A' and vice versa? > > I would need to setup 5

Re: caps lock invert in insert mode? (Fortran 77 editing)

2010-11-22 Thread Karthick Gururaj
On Mon, Nov 22, 2010 at 8:52 PM, Rob wrote: >> >> For e.g, >> >> :inoremap a A >> >> :inoremap A a >> > >> > Thanks, but I can't get this to work.  Am I correct >> in thinking that having done this, typing 'a' in insert mode >> should insert 'A' and vice versa? >> > >> > I would need to setup 52 i

Re: caps lock invert in insert mode? (Fortran 77 editing)

2010-11-22 Thread Karthick Gururaj
On Mon, Nov 22, 2010 at 9:55 PM, Rob wrote: >> :set >> > >  balloondelay=100    clipboard=          expandtab           helplang=en       >   makeprg=            number              pastetoggle=    ruler           >     shell=/bin/tcsh     shortmess=atoO      tags=               ttyfast       >

Re: C++0x lambda syntax

2010-11-23 Thread Karthick Gururaj
On Wed, Nov 24, 2010 at 1:42 AM, Bram Moolenaar wrote: > > Andrew Venikov wrote: > >> in c++0x it will be possible to use lambda functions. >> >> So, for example, this: >> >> [](int n) { return n+ 1; } >> >> Will become valid c++. >> >> Unfortunately it breaks current C++ highlighting. >> After a

Re: :ls with regular expression

2010-11-24 Thread Karthick Gururaj
On Wed, Nov 24, 2010 at 6:35 PM, Eran Borovik wrote: > Hi folks, > I am an heavy user of vim (console mode), and loves to open many buffers. I > refrain from using tabs or the buffer explorer plugin as it takes precious > screen space. Just navigating with :b* and:ls is great. > One small issue th

Re: C++0x lambda syntax

2010-11-24 Thread Karthick Gururaj
On Thu, Nov 25, 2010 at 3:13 AM, Andrew Venikov wrote: > >> No one is forcing you to make a choice. >> There MUST be a way to figure this out. I dunno however. >> u can work it out after reading the syntax schema of c.vim. >> I believe it's easy for you, because it's also a very very beautiful >>

Re: How to insert text into buffer from vim commandline?

2010-12-21 Thread Karthick Gururaj
On Tue, Dec 21, 2010 at 12:09 PM, Phani Deepak Parasuramuni wrote: > Hi, > Is there anyway I can insert some text(say "Phani%d",count) into the buffer > at cursor position? > This is my use case. > I have a code where in at specific places I have some text like "// PLT". > Now I want to append a s

Re: How to insert text into buffer from vim commandline?

2010-12-21 Thread Karthick Gururaj
m with the count g/PLT/ let PLT_count = PLT_count+1|s/PLT/\="PLT" . PLT_count/ See :help :s\= > On Tue, Dec 21, 2010 at 2:01 PM, Karthick Gururaj > wrote: >> >> On Tue, Dec 21, 2010 at 12:09 PM, Phani Deepak Parasuramuni >> wrote: >> > Hi, >> >

Re: Using the quickfix window without losing focus

2012-05-14 Thread Karthick Gururaj
On Mon, May 14, 2012 at 1:34 PM, Jonathan del Strother wrote: > > Hi, > I'm using fugitive's :Ggrep (a git-based wrapper around vimgrep) to > scan for occurrences of a word in my project, viewing them in the > quickfix window.  I end up with quite a few results, and it's not > obvious which file I

Re: Tab Order

2012-06-07 Thread Karthick Gururaj
On Fri, Jun 1, 2012 at 8:02 PM, Ben Fritz wrote: > On Thursday, May 31, 2012 10:37:50 PM UTC-5, Scott wrote: >> Hi Jan, >> >> I'd like to be able to make Vim focus the left tab too (after closing a >> tab). Did you find a way to do it without having to use a new command? >> > > If all you want is

Re: how to get notified when file is changed by another application?

2012-08-23 Thread Karthick Gururaj
On Thu, Aug 23, 2012 at 11:42 AM, Santosh Kumar wrote: > Before I heard about vim, I used to use gedit. I still try to make vim > behave as same as gedit, this is because I have asked many questions > related to vim on StackOverflow. > > One feature I am missing is when any file was modified while

Changing location of swap directory for selected files, how to?

2012-09-12 Thread Karthick Gururaj
Hello, I would like to modify the value of 'dir' option for a few specific files (e.g: all files in directory ~/Foo/). Had 'dir' been a buffer local option, it would have been a easy thing, au BufEnter ~/Foo/* set dir=newval But 'dir' is global across buffers. Can anyone suggest workarounds? I h

Re: Changing location of swap directory for selected files, how to?

2012-09-12 Thread Karthick Gururaj
On Wed, Sep 12, 2012 at 7:42 PM, sc wrote: > On Wed, Sep 12, 2012 at 06:52:39PM +0530, Karthick Gururaj wrote: >> Hello, > >> I would like to modify the value of 'dir' option for a few specific >> files (e.g: all files in directory ~/Foo/). Had 'dir'

Re: Changing location of swap directory for selected files, how to?

2012-09-13 Thread Karthick Gururaj
On Wed, Sep 12, 2012 at 10:00 PM, Marcin Szamotulski wrote: > On 08:03 Wed 12 Sep , Ben Fritz wrote: >> On Wednesday, September 12, 2012 8:22:44 AM UTC-5, Karthick wrote: >> > Hello, >> > >> > >> > I would like to modify the value of 'dir' option for a few specific >> > files (e.g: all files i

Re: Changing location of swap directory for selected files, how to?

2012-09-13 Thread Karthick Gururaj
On Thu, Sep 13, 2012 at 12:02 AM, Ben Fritz wrote: > On Wednesday, September 12, 2012 10:03:09 AM UTC-5, Ben Fritz wrote: >> On Wednesday, September 12, 2012 8:22:44 AM UTC-5, Karthick wrote: >> >> > Hello, >> > I would like to modify the value of 'dir' option for a few specific >> > files (e.g: a

Re: Changing location of swap directory for selected files, how to?

2012-09-13 Thread Karthick Gururaj
On Wed, Sep 12, 2012 at 7:54 PM, Karthick Gururaj wrote: > On Wed, Sep 12, 2012 at 7:42 PM, sc wrote: >> On Wed, Sep 12, 2012 at 06:52:39PM +0530, Karthick Gururaj wrote: >>> Hello, >> >>> I would like to modify the value of 'dir' option for a few spec

Re: why is it so difficult to start using vim (may be just for me).

2012-09-26 Thread Karthick Gururaj
On Wed, Sep 26, 2012 at 3:17 PM, Deepak adhikari wrote: > I am trying to use this editor, searched stackoverflow.com (didn't ask > though) went to vim.org but very complex operations are explained and found > difficult to grasp. > > just trying to know some basic commands like how to start, exit,

Re: gvim/unix for Extending Verilog syntax highlighting for SystemVerilog

2012-10-21 Thread Karthick Gururaj
On Sat, Oct 20, 2012 at 5:27 AM, SARAN A wrote: > Hi experts > > I need help with gvim/unix for Extending Verilog syntax highlighting for > SystemVerilog. I use: http://www.vim.org/scripts/script.php?script_id=1586 > It is working fine for vim not for gvim. That is vague. You must be elaborate o

Re: map ... :!/usr/bin/env python3 % in Windows?

2012-10-21 Thread Karthick Gururaj
On Sun, Oct 21, 2012 at 7:02 PM, Shay wrote: > I don't know much about Windows. How can I make this work? > > autocmd FileType python map :w:!/usr/bin/env python3 % > You can't make this "work" on Windows. (First see :help :!) :!cmd will execute cmd with the shell (in Windows or Linux).. (Nex

Re: Problem Using :substitute to Replace Empty Fields in Tab Delimited File

2012-10-24 Thread Karthick Gururaj
On Wed, Oct 24, 2012 at 11:05 PM, John Slattery wrote: > Hi, > > In a tab delimited data file I want to replace empty fields with \N. I wasn’t > getting the result I expected and began working with a simple test file that > looked as follows with set list: > > ^I^I^I^I^I$ > ^I^I^I^I$ > ^I^I^I$ >

Re: copy from gvim and paste it some where else.. help..

2012-10-25 Thread Karthick Gururaj
On Thu, Oct 25, 2012 at 7:36 PM, sathyashrayan wrote: > Another update. When i delete the vimrc and use the gvim without any vimrc > config then the copy paste problem solved.. Please don't top post. > On Thursday, 25 October 2012 17:43:45 UTC+5:30, Christian Brabandt wrote: >> On Thu, October

Re: :substitute behaves differently with and without individual substitute confirmation

2012-10-26 Thread Karthick Gururaj
On Thu, Oct 25, 2012 at 10:02 AM, Karthick Gururaj wrote: > Hello, > > On the input pattern: > ,,X > > ..the following substitute command, >%s;\(^\|,\)\ze\(,\|X\);\1N;gc > > ..changes it to (type 'y' for all prompts): > N,N,NX > > As expected

Re: :substitute behaves differently with and without individual substitute confirmation

2012-10-27 Thread Karthick Gururaj
On Fri, Oct 26, 2012 at 3:24 PM, Marcin Szamotulski wrote: > On 15:11 Fri 26 Oct , Karthick Gururaj wrote: >> On Thu, Oct 25, 2012 at 10:02 AM, Karthick Gururaj >> wrote: >> > Hello, >> > >> > On the input pattern: >> > ,,X >> > >

Re: basic vim usage

2012-11-08 Thread Karthick Gururaj
On Thu, Nov 8, 2012 at 4:53 PM, vicky b wrote: > I have started to learn vim in this modern enviroment where gui takes > prefers , one thing that still me back to other editors is the ease with > which we can copy and paste , can anybody help me out with safe effect in > vim or any thing of that

Re: Please explain Regex

2013-01-09 Thread Karthick Gururaj
On Wed, Jan 9, 2013 at 5:55 PM, vicky b wrote: > Hello All, > > Recently i cam across this command :g /^/m0 which reverses order o > line can any body explain how this works > Google "vim reverse lines" - the first hit is: http://vim.wikia.com/wiki/Reverse_all_lines > > Once more doubt

Re: suppressing "E319: * syntax off"

2015-03-04 Thread Karthick Gururaj
On Wed, Mar 4, 2015 at 11:38 PM, J.D. Laub wrote: > Hi. I've got a standard .vimrc file I keep consistent across multiple > machines with rsync. I dislike syntax highlighting, so in that file I have > " :syntax off " . A problem I'm having is that some of the machines have > the full-blown vim

Re: Right Aligning Mid-line After a Marker?

2016-04-21 Thread Karthick Gururaj
On Thu, Apr 21, 2016 at 12:34 AM, Mike K. wrote: > I'm trying to work out how to make vim right-align comments in my various > config files whilst leaving the rest of the line where it is. > > Here's what my .muttrc currently looks like: > > set attribution= "* %n wrote on %D:" # Date in ISO 8

default.vim getting sourced even when vimrc is present

2016-11-07 Thread Karthick Gururaj
Hello all, I just installed the 80-069 version of the MS-Windows Vim installer. I see the scrolloff option is being set to "5" due to defaults.vim getting sourced. :verbose set scrolloff? Shows, scrolloff=5 Last set from C:\Program Files (x86)\Vim\vim80\defaults.vim :version VIM - Vi IM

Re: default.vim getting sourced even when vimrc is present

2016-11-08 Thread Karthick Gururaj
On Tue, Nov 8, 2016 at 8:34 AM, Ken Takata wrote: > > Hi Karthick, > > 2016/11/7 Mon 22:24:03 UTC+9 Karthick wrote: > > Hello all, > > > > > > I just installed the 80-069 version of the MS-Windows Vim installer. I see > > the scrolloff option is being set to "5" due to defaults.vim getting > > s

Re: 'ed' and 'split' with read-only enabled

2013-07-15 Thread Karthick Gururaj
On Mon, Jul 15, 2013 at 7:03 PM, Woody Wu wrote: > sometimes when I've already open a file in another vim instance and > don't want to close it, then I need to temparaly open the same file in > current vim instance to copy something from the file. Then when I do > the 'split myfile' in the curre

Re: Fwd: Search for the visually select text

2013-11-15 Thread Karthick Gururaj
On Fri, Nov 15, 2013 at 9:56 PM, tooth pik wrote: > On Fri, Nov 15, 2013 at 04:44:50PM +0100, Paolo Bolzoni wrote: >> Dear list, >> seldom I need to search specific part of text that are not simply the current >> word (where * is handy). And I instinctively select the part visually, only >> to >>

Re: Regular expression and VIm

2013-12-13 Thread Karthick Gururaj
On Fri, Dec 13, 2013 at 7:53 PM, Tim Chase wrote: > On 2013-12-13 19:35, vicky b wrote: >> I see most of time for complex editng regular expression is a >> must , so what is the best way to start learning regular expression >> any thing specific to vim. > > There are a number of good resources fo

Re: Regular expression and VIm

2013-12-13 Thread Karthick Gururaj
On Fri, Dec 13, 2013 at 8:05 PM, Ethan Hereth wrote: > > > > On Fri, Dec 13, 2013 at 9:05 AM, vicky b wrote: >> >> HI All, >> >> I see most of time for complex editng regular expression is a must , so >> what is the best way to start learning regular expression any thing specific >> to vim. >> >

Re: plugin for taking notes with code?

2014-01-09 Thread Karthick Gururaj
On Fri, Jan 10, 2014 at 12:46 AM, uukkhh wrote: > Hi all, > > I have been using vim for a while and like it very much. (But still entry > level :-) Now I need to read source code of a big project, and when browsing, > have to take some notes from time to time to understand it faster. > > I am th

Re: systematic replacement of text

2014-04-09 Thread Karthick Gururaj
On Wed, Apr 9, 2014 at 5:28 PM, Jean-Rene David wrote: > * Natércia Fernandes [2014.04.09 07:02]: >> In a file with many occurrences of something like this: >> >> \xxx{a variable number of words that I want to delete}{a variable (diferent) >> number of words that I want to keep} > > [...] > >> Don

Vim under Windows 10 reports files as "read-only"

2017-09-18 Thread Karthick Gururaj
Hello folks, I have Gvim 8.0 installed on a Windows 10 machine. Sometime in the last few days, looks like there was an OS update that changed how files in the 'Documents' folder are handled. This is what I see now: a. Editing files in, say C:\Windows\Temp\temp.txt works fine. Similarly many other

Re: Vim under Windows 10 reports files as "read-only"

2017-09-18 Thread Karthick Gururaj
On Mon, Sep 18, 2017 at 10:08 PM, Ben Fritz wrote: > On Monday, September 18, 2017 at 7:51:44 AM UTC-5, Karthick wrote: >> Hello folks, >> >> I have Gvim 8.0 installed on a Windows 10 machine. Sometime in the >> last few days, looks like there was an OS update that changed how >> files in the 'Doc

Re: Win10 gvim7.4 seemly not have enough permission(default install)

2018-04-09 Thread Karthick Gururaj
On Tue, Jan 16, 2018 at 12:35 PM, Sand Glass wrote: > [snip] > Question is: > Where the temp files save when do diff using the origin _vimrc config? > Why this will hapen on win10? my win7 system is OK. Check :help E810 and :help tempfile Also, try with verbose option set (see :help 'verbose') :s

Re: Where are vim macros stored

2021-05-28 Thread Karthick Gururaj
On Fri, May 28, 2021 at 8:01 PM Ruben Safir wrote: > > On 5/28/21 10:21 AM, Tim Chase wrote: > > On 2021-05-28 10:05, Ruben Safir wrote: > >> On 5/28/21 10:02 AM, Christian Brabandt wrote: > Where are the vim macros stored. I want to edit them by hand > >>> in the register you specified. > >

Re: Vim spell indentation issue

2022-12-09 Thread Karthick Gururaj
On Fri, Dec 9, 2022 at 12:40 PM Mohit Agarwal wrote: > > Hi, > > I've seen the following issue with Vim spell on multiple installs. > In a markdown file, the spelling error in the second line is not > recognised here: > > - The quick bron fox jumps over the lazy dog. The quick bron >

Re: Vim spell indentation issue

2022-12-09 Thread Karthick Gururaj
On Fri, Dec 9, 2022 at 1:29 PM Christian Brabandt wrote: > > > On Mi, 07 Dez 2022, Mohit Agarwal wrote: > > > Hi, > > > > I've seen the following issue with Vim spell on multiple installs. > > In a markdown file, the spelling error in the second line is not > > recognised here: > > > > - T