
Extending the Taglist plugin Extending the taglist plugin The taglist plugin supports all the programming languages supported by the exuberant ctags tool, which includes the following languages: Assembly, ASP, Awk, Beta, C, C++, C#, Cobol, Eiffel, Erlang, Fortran, HTML, Java, Javascript, Lisp, Lua, Make, Pascal, Perl, PHP, Python, Rexx, Ruby, Scheme, Shell, Slang, SML, Sql, TCL, Verilog, Vim and Yacc. You can extend the taglist plugin to add support for new languages and also modify the support for the above listed languages. You should NOT make modifications to the taglist plugin script file to add support for new languages. You can extend the taglist plugin by setting variables in the .vimrc or _vimrc file. Modifying support for an existing language To modify the support for an already supported language, you have to set the tlist_xxx_settings variable in the ~/.vimrc or $HOME/_vimrc file. To determine the filetype name used by Vim for a file, use the following command in the buffer containing the file: :set filetype
Guide de contrôle total de vim - All4Dev From All4Dev Modes Mode normal Mode insertion Modes de sélection passer en mode de sélection sequentielle : v passer en mode de sélection linéaire : <S-v> (traduire Shift + v ) passer en mode de sélection par bloc : <C-v> (traduire Control + v) Note : la touche o permet de changer le côté de la sélection où les flèches agissent, pendant qu'elle est active, de sorte qu'il est possible de l'étendre ou de la restreindre d'un côté ou de l'autre. Pour se passer des flèches du clavier et de la souris, c'est facile avec Vim. Position du curseur Ces commandes s'utilisent en mode normal : w, b : avance ou recule d'un mot, en positionnant le curseur sur le début du mot e, ge : avance ou recule d'un mot, en positionnant le curseur sur la fin du mot z<Enter> : fait défiler l'écran de sorte que la ligne en cours soit en haut de l'écran zz : fait défiler l'écran de sorte que la ligne en cours soit au centre de l'écran <C-e>, <C-y> : respectivement, fait défiler le texte vers le haut et vers le bas. #!
ASP.Net 2.0 - Master Pages: Tips, Tricks, and Traps Master pages are a great addition to the ASP.NET feature set. Master pages help us build consistent and maintainable user interfaces. Master pages, however, are not without their quirks. To make use of master pages, we first need to understand how master pages work. When a web request arrives for an ASP.NET web form using a master page, the content page (.aspx) and master page (.master) merge their content together to produce a single page. <htmlxmlns=" <title>Untitled Page</title></head><body> <formid="form1"runat="server"> <div> <asp:ContentPlaceHolderID="ContentPlaceHolder1"runat="server"> </asp:ContentPlaceHolder> </div> </form></body></html> The master page contains some common elements, like a head tag. The web form contains a single Content control, which in turn is the proud parent of a Label. At this point, the page and master page are two separate objects, each with their own children. … creates the following exception. EndSub
Avoir un wifi fonctionnel avec Ubuntu 9.04 et un EeePC 1000 HE - J'ai toujours remarqué qu'avec le EeePC 1000 HE, le carte wifi avait du mal à obtenir une bonne connexion et parfois la connexion échouait carrément. J'ai eu ce soucis hier notamment où après de nombreuses tentatives je ne suis toujours pas parvenu à résoudre ce problème. Je ne suis pas du genre à abandonner et j'ai fini par trouver le paquet qui va bien et qui apparemment rend les choses meilleures. Donc pour résoudre, le soucis (apparemment, les connexions wifi marchent biens désormais), il suffit simplement d'installer le paquet linux-backports-modules-jaunty.
Search and replace Vim provides the :s (substitute) command for search and replace; this tip shows examples of how to substitute. On some systems, gvim has Find and Replace on the Edit menu (:help :promptrepl), however it is easier to use the :s command due to its command line history and ability to insert text (for example, the word under the cursor) into the search or replace fields. Basic search and replace Edit The :substitute command searches for a text pattern, and replaces it with a text string. There are many options, but these are what you probably want: :%s/foo/bar/g Find each occurrence of 'foo' (in all lines), and replace it with 'bar'. :s/foo/bar/g Find each occurrence of 'foo' (in the current line only), and replace it with 'bar'. :%s/foo/bar/gc Change each 'foo' to 'bar', but ask for confirmation first. :%s/\<foo\>/bar/gc Change only whole words exactly matching 'foo' to 'bar'; ask for confirmation. :%s/foo/bar/gci Change each 'foo' (case insensitive due to the i flag) to 'bar'; ask for confirmation.
Improve your vim experience: tips and tricks :: SpikeLab.org - a geek's playground Lean Startup Peer to Peer Circle Lean Startup Methodologies are simple in theory but hard in practice so with Tristan Kromer we have created a space where entrepreneurs can come together and help each other implementing Lean. We have devised a framework centered on learning and accountability that pushes members to identify risky hypothesis and ways to test them along with metrics and success criteria. Ideption: finding a winning business idea During a Stanford class on entrepreneurship my team and I needed a way to come up with a startup idea and ended up documenting our process into a google doc that has since then been used hundreds of times by other entrepreneurs. Devops Hiring In my career as an engineer I've worn many hats and done a lot of recruiting as a consultant.
Vim setup explained : :wq - blog Since my site is named after a Vim command. I figured that I should eventually write something talking about my favorite text editor, and how I like it configured. What follows is the explanation of my .vimrc, as well as a description of the plugins that I use. A lot of the credit for this configuration goes to Bart Trojanowski, who has an excellent Vim configuration. At the bottom I’ll have a link to download any of the files themselves if you so desire. My ~/.vimrc: Modelines have been abused in the past, and while I haven’t heard of anything lately that would abuse them, it’s always better safe than sorry. " --------------------------------------------------------------------------- " first the disabled features due to security concerns set modelines=0 " no modelines [ let g:secure_modelines_verbose=0 " securemodelines vimscript let g:secure_modelines_modelines = 15 " 15 available modelines if ! Misc TOhtml settings I *occasionally* use the mouse.
Vim Taglist plugin Using Finch Help home > FAQ home Getting around ¶ Abbreviations ¶ M-<chr> means hold the META or EDIT or ALT key down while typing <chr>. If there is no META, EDIT or ALT key, instead press and release the ESC key and then type <chr> in quick succession. How do I switch between windows? You can press M-n/M-p to go to the next/previous window, or M-N where N is 1-9. How can I close a window? Press M-c. The default key-binding is F10. The default key-binding is F11. Can I change the bindings? Yes! [GntWM::binding] c-a-n = window-next Note that, the default binding alt+n will continue to switch to the next window. [GntWM::binding] a-c-n = window-next a-n= To see the list of available rebindable actions for the focused widget, press "alt+/". How can I enable the mouse? In ~/.gntrc, set mouse = 1 under [general] as well as under [Finch]. If I enable the mouse, I cannot select text from the terminal any more When the mouse is enabled, hold shift to use your terminal's mouse selecting. Buddy List ¶ Yes! Yes. Yes.
Power Vim Usage: Tips & Tricks for Everyday Editing Tips & Tricks for Everyday Editing Smylers UKUUG Linux 2004 Conference • 2004 August This view lists all the slides from the talk in a continuous format. There is a PDF version available, suitable for printing on A4 paper. The slides are also designed to be viewed as a slideshow from this file with Mozilla or a compatible browser. 1 Intro text editing: crops up all over Linux once good at it, find many uses for it Vim: powerful — potential for great efficiency Emacs and other VI variants also good this talk: tips — features & customizations fast, random, dull to encourage reading the notes work in progress 2 Learning Vim Vim is far too big to learn quickly probably too big to learn slowly learning it as an extension of VI is often not helpful The only way to get the hang of Vim is a bit at a time — learning some things you can make use of, getting comfortable with them, then learning some more. Some of the most useful Vim features don’t require any VI knowledge. 3 Moving About 6 Indenting
Vim Vim est un éditeur de textes difficile à prendre en main, mais extrêmement puissant. Il s'agit d'un des nombreux héritiers (moraux) de l'historique Vi des Unix ancestraux, et c'est dans cette famille probablement le plus puissant. L'essentiel de ce qui sera dit ici sera aussi valable pour les autres, mais pas tout ; la documentation de Vim précise pour chaque commande si elle est spécifique ou pas. Concepts de base Les deux modes Vi possède deux modes. Il est possible, avec Vi, de définir de nouvelles touches pour des actions. On revient en mode normal avec la touche Escape Suivant la configuration, le changement peut ne prendre effet qu'au moment où la touche suivante est tapée. Action et déplacement Beaucoup de commandes de Vi (en mode normal, donc) servent à déplacer le curseur. Vi a aussi des commandes pour supprimer, copier, ou d'autres plus exotiques, comme passer en majuscules. Par exemple la commande w avance jusqu'au mot suivant, la commande d est celle pour effacer. Attention.
Graphical vi/vim Cheat Sheet and Tutorial Learning vi or vim is not easy. But it doesn't have to be that difficult, either. It is, in any case, faster, more powerful, and more productive than editing with any other editor, so you would do very well in investing the time and effort to learn it. Being a vi lover myself, I came up with the idea of providing a graphical cheat sheet for those learning vi or vim, and I also found out it was a very good way to structure a tutorial. By the way, I recently published the definitive article explaining why vi/vim editing is so much better than regular editing. Graphical cheat sheet This is a single page describing the full vi/vim input model, the function of all keys, and all major features. Graphical cheat sheet based tutorial The tutorial above is structured in 7 lessons that cover the major commands in vi/vim. Notes vim is an incredible editor by Bram Moolenaar, based on the original vi by Bill Joy, adding a ton of improvements over it. Relevant links Why, oh why, do those #?
asus_eee_pc_701 Le Eee PC 701 est le premier des ultra-portables à bas prix, conçu par AsusTek et disponible depuis le 23 janvier 2008 en France. Il vient casser la course aux performances à laquelle se livraient les fabricants de portables actuels : équipé de composants moins performants que les standards du marché (processeur Intel Celeron 900 MHz sous cadencé à 630 Mhz, 512 Mio de mémoire vive, disque dur SSD de 4 Gio, et pas de lecteur optique de CD/DVD), il est en contrepartie de petite taille (une feuille A5), très léger (moins de 1kg batterie comprise) et est vendu à un prix très compétitif (299€ lors de sa sortie en France). Cet ultra-portable est livré avec une distribution GNU-Linux basée sur Xandros, et modifiée par Asus. Elle est destinée à être la plus simple d'utilisation possible, mais est limitée en termes d'évolutivité. Cependant, il est tout à fait possible d'y installer un autre système d'exploitation. Pour masquer le problème, dans un terminal, utilisez la commande
Jason's Log: February 2008 One of the more irritating problems to affect my Altos Research users recently was the inability to successfully download a Zip archive file from our servers using Internet Explorer. It didn't matter what version of IE they were using (IEv6 or IEv7) or which version of Windows (XP or Vista). Every time they downloaded the Zip and attempted to open it they would see an error message informing them that the file was corrupt or invalid. The problem did not occur when using any other web browser - Firefox, Safari or Opera. In the case of the Altos Research website, the Zip files we were serving are dynamically generated by our application. I logged into the AR application as one of our customers using Firefox. In every case, the IE users were still unable to open the Zip file, even when it was not dynamically generated and served by our application. A note about the Apache configuration: From the very start, I had configured Apache to use the mod_deflate plug-in for HTTP-level compression.