vim_use [email protected] http://groups.google.com/group/vim_use?hl=en
Today's most active topics: * Vim is too slow with syntax highlighting - 6 new http://groups.google.com/group/vim_use/t/a53076b75f9a4c6d?hl=en * Simple repetition question - 5 new http://groups.google.com/group/vim_use/t/ccb573bb407ecbca?hl=en * Sections in ~/.vimrc - 5 new http://groups.google.com/group/vim_use/t/4dcb7349b8efb17f?hl=en * Embedded languages in Vimscript highlighted as error? - 5 new http://groups.google.com/group/vim_use/t/a4e35fd2c0943f03?hl=en * Strange behavior with Key Maps - 3 new http://groups.google.com/group/vim_use/t/0da4608c4de2eda5?hl=en Active Topics ------------- Vim is too slow with syntax highlighting - 6 new ------------------------------------------------ Hi all ViM lovers, I am using ViM every day and there is only few things which bothers me. One of them is slowness of syntax highlighting. When I work on something (php, c, c++, perl, ...) I usually have xterm with screen on fullscreen. That means "speed 38400 baud; rows 78; columns 212;". When I open a source file with syntax highlighting, it is really - Fri, Dec 5 2008 1:54 am 6 messages , 5 authors http://groups.google.com/group/vim_use/t/a53076b75f9a4c6d?hl=en set ff=dos problems - 1 new --------------------------- ...In the meantime (until Bram changes, if ever, the behaviour of ":enew" to make it match the help), you may define a new command, let's say command -bang -bar -nargs=0 Enew enew<bang> | set ff=dos Best regards, Tony. - Fri, Dec 5 2008 3:45 am 1 message, 1 author http://groups.google.com/group/vim_use/t/d19be706567e5743?hl=en Sections in ~/.vimrc - 5 new ---------------------------- ...[...] Yes indeed. Steve, you really should read that helpfile; but in a nutshell, place your "special" sections by filetype each in its own file, name the file by the filetype followed by .vim, don't forget to use ":setlocal" rather than ":set" and ":map <buffer>" rather than plain ":map", and drop the files, for Windows in - Fri, Dec 5 2008 4:05 am 5 messages , 4 authors http://groups.google.com/group/vim_use/t/4dcb7349b8efb17f?hl=en Test if vim just opened with no file - 1 new -------------------------------------------- ...When starting [g]vim from a prompt (a cmd promt in the Dos Box or a shell prompt in a Unix-like shell including Cygwin bash), the current directory can be anything (I expect most often $HOME or the filesystem root rather than $ VIMRUNTIME) so in that case your getcwd() test will disable the cd to your/ preferred/startup/dir/. OTOH you may want to set - Fri, Dec 5 2008 4:42 am 1 message, 1 author http://groups.google.com/group/vim_use/t/89d6a6fe69ab65dd?hl=en How to list all occurrence of a identifier - 1 new -------------------------------------------------- ...Arrrgh, ... that explains a few things ... and not just on this list. ...It is a good practice to adopt no matter what the preferred standard is. - Fri, Dec 5 2008 4:58 am 1 message, 1 author http://groups.google.com/group/vim_use/t/c7768e7e9faecfb0?hl=en help.txt local-additions alignment - 1 new ------------------------------------------ ...Install only local helpfiles with names of approximately the same length ( so that tabs after the names will line up) and, if more lining up is desired, with first lines rigidly adhering to a common format? Or, on Unix only, install your additional helpfiles in some directory where Vim doesn't look, and place softlinks to them, with softlink names - Fri, Dec 5 2008 4:53 am 1 message, 1 author http://groups.google.com/group/vim_use/t/11269e9de3a073af?hl=en Vim as a Manpager - 3 new ------------------------- ...[...] ...I recommend you read tip 167: [link] [...] - Fri, Dec 5 2008 7:57 am 3 messages , 3 authors http://groups.google.com/group/vim_use/t/d4f60ad23fed294e?hl=en Findmate plugin not working in Windows - 1 new ---------------------------------------------- ...[snip] As a similar item, there's also the :Explore **/filespec command available with netrw. Here's some of the help for it and some similar commands: */filepat files in current directory which satisfy filepat **/filepat files in current directory or below which satisfy the file pattern - Fri, Dec 5 2008 8:08 am 1 message, 1 author http://groups.google.com/group/vim_use/t/28be7ea1fc2313fd?hl=en controlling vim via script or shell - 3 new ------------------------------------------- Is there a way to control gvim via the unix shell (or with a script) ? For example: gvim file1 & opens file1 in gvim in the background gvim has for example the PID 1000 now i want to open another file (say file2) IN THE SAME GVIM APPLICATION from the shell. So I want be able to type something like - Fri, Dec 5 2008 11:25 am 3 messages , 3 authors http://groups.google.com/group/vim_use/t/34679dbd4565dbc3?hl=en Removing Unrecognizable Characters - 3 new ------------------------------------------ I'm copying text from our Vendor's websites and putting it in gvim. The odd ball characters like trademarks and so forth show up as perfect black squares. I need to remove these items anyway so I would like a way to search for these black boxes and delete them. Is there any way to automate the deletion of these unrecognized characters? I'm - Fri, Dec 5 2008 12:20 pm 3 messages , 2 authors http://groups.google.com/group/vim_use/t/7656e6ce7844f457?hl=en Embedded languages in Vimscript highlighted as error? - 5 new ------------------------------------------------------------- Working with some Python code inside a pugin (python << EOF ...). In GVim 7.2 it appears at though the entire block of code is highlighted according to the Highlight Error section of the current color scheme. Knowing that I will not likely get Python syntax highlighting inside a Vimscript file, is there a configuration that will not make the - Fri, Dec 5 2008 12:24 pm 5 messages , 3 authors http://groups.google.com/group/vim_use/t/a4e35fd2c0943f03?hl=en Encoding problems... - 2 new ---------------------------- Hi all, I am fiddling around with file encodings, which surely is quite complicated, and am currently stuck in the following problem: First my settings: encoding=utf-8 fileencodings=ucs-bom,utf-8,la tin1 fileencoding=cp 850 (fileencoding is set by an autocommand that decides by the file extension.) In my vimrc I set a macro that inserts some kind of text, including - Fri, Dec 5 2008 8:23 am 2 messages , 2 authors http://groups.google.com/group/vim_use/t/de3176471ef8a088?hl=en Help with @/ (last search) in vimgrep command - 3 new ----------------------------------------------------- Hi I would like to create a command to use vimgrep on my last search (made with /) I've tried: command Gr vimgrep /@//g % but this doesn't work. Can anybody help me out with how to do this correctly? thanks, Lewis - Fri, Dec 5 2008 9:22 am 3 messages , 3 authors http://groups.google.com/group/vim_use/t/679b3d9dc3328947?hl=en Strange behavior with Key Maps - 3 new -------------------------------------- Hello, I have mappings that look like this in my ftplugin/java.vim imap < buffer> <S-C-m> <Esc>:JavaImport<CR>a map <buffer> <S-C-m> <Esc>:JavaImport<CR> The first mapping works fine, but the second one inexplicably leads to a remapping of <CR>! To see that, open vim (I have vim7.2) and then - Fri, Dec 5 2008 9:45 am 3 messages , 2 authors http://groups.google.com/group/vim_use/t/0da4608c4de2eda5?hl=en gvim "Warning" - how to eliminate - 2 new ----------------------------------------- I just downloaded the source and built VIM and GVIM on AIX 5.3. When I invoke gvim, I get the following "warning": Warning: Missing charsets in String to FontSet conversion Warning: Cannot convert string "-dt-interface user-medium-r- normal-m*-*-*-*- *-*-*-*-*" to type FontSet Warning: Missing charsets in String to FontSet conversion - Fri, Dec 5 2008 3:41 pm 2 messages , 2 authors http://groups.google.com/group/vim_use/t/d95179c06f5cce3d?hl=en Simple repetition question - 5 new ---------------------------------- I'm writing code in some programming language, and when I compile it gives me the unfortunate error message: Syntax error: Character 28345-28347 Opening the file in VIM and starting from the beginning, the sequence '28345l' does not produce desired results, because the 'l' stops at the end of the line. How can I seek to the n'th character in a file? - Fri, Dec 5 2008 6:01 pm 5 messages , 3 authors http://groups.google.com/group/vim_use/t/ccb573bb407ecbca?hl=en Problem with vimwiki - 1 new ---------------------------- I installed vimwiki, but the ftplugin is not getting sourced. The global mappings seem to work, but the local mappings that get set in the ftplugin are not working. The filetype is getting set, but the ftplugin is not loading. Any ideas what could be the problem? Jayson - Fri, Dec 5 2008 6:51 pm 1 message, 1 author http://groups.google.com/group/vim_use/t/369f122e29fd29c1?hl=en Help with scripting commands, on a vim-crypted file. - 2 new ------------------------------------------------------------ Hi, I have a vim-encrypted file, say, "db". (They encryption key being "foo", let's say.) Now, I would like to be able to accomplish the following via a bash script: o Take a fresh, multi-line note from the user (via a vim session), o Save it to /tmp/new-note file, and o Prepend /tmp/new-note to "db". - Fri, Dec 5 2008 11:09 pm 2 messages , 2 authors http://groups.google.com/group/vim_use/t/198ca42ca809eea5?hl=en ============================================================================== You received this message because you are subscribed to the Google Groups "vim_use" group. To post to this group, send email to [email protected] or visit http://groups.google.com/group/vim_use?hl=en To unsubscribe from this group, send email to [email protected] To change the way you get mail from this group, visit: http://groups.google.com/group/vim_use/subscribe?hl=en To report abuse, send email explaining the problem to [email protected] ============================================================================== Google Groups: http://groups.google.com/?hl=en --~--~---------~--~----~------------~-------~--~----~ You received this message from the "vim_use" maillist. For more information, visit http://www.vim.org/maillist.php -~----------~----~----~----~------~----~------~--~---
